private List<File> toFiles(Object transferData) {

		return toFiles(transferData, s -> {
			try {
				return new File(new URL(s.replaceAll(" ", "%20")).toURI()); // fixup spaces
			}
			catch (MalformedURLException e) {
				// this could be the case that this handler is attempting to process an arbitrary
				// String that is not actually a URL
				Msg.trace(this, "Not a URL: '" + s + "'", e);
				return null;
			}
			catch (Exception e) {
				Msg.error(this, "Unable to open dropped URL: '" + s + "'", e);
				return null;
			}
		});
	}
Linux URL-based file list {@link DataFlavor} to be used during handler registration
using {@link DataTreeDragNDropHandler#addActiveDataFlavorHandler}.
Ghidra/Features/Base/src/main/java/ghidra/framework/main/datatree/LinuxFileUrlHandler.java