getAsFile

If the item is a file, the DataTransferItem.getAsFile() method returns the drag data item's File object.

MDN Reference