private static FSRL fileToFsrl(File file) throws LoadException {
		if (file == null) {
			throw new LoadException("Cannot load null file");
		}
		return FileSystemService.getInstance().getLocalFSRL(file);
	}
Converts a {@link File} to a local file system {@link FSRL}
@param file The {@link File} to convert
@return A {@link FSRL} that represents the given {@link File}
@throws LoadException if the given {@link File} is null
Ghidra/Features/Base/src/main/java/ghidra/app/util/importer/AutoImporter.java