private File getFileFromGFile(GFile gf) throws IOException {
		if (gf == null) {
			return localfsRootDir;
		}
		if (!(gf instanceof GFileLocal)) {
			throw new IOException("Unexpected GFile class: " + gf.getClass());
		}
		return ((GFileLocal) gf).getLocalFile();
	}
A {@link GFileSystem} interface to a part of the user's local / native file system.
<p>
This class is a sub-view of the {@link LocalFileSystem}, and returns hybrid GFile objects
that have fully specified FSRL paths that are valid in the Root filesystem, but relative
GFile paths.
<p>
This class's name doesn't end with "FileSystem" to ensure it will not be auto-discovered
by the FileSystemFactoryMgr.
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/LocalFileSystemSub.java