private FileData<METADATATYPE> getFileData(GFile f) throws IOException {
		if (f == null) {
			return rootDir;
		}
		FileData<METADATATYPE> fd = fileToEntryMap.get(f);
		if (fd == null) {
			throw new IOException("Unknown file: %s".formatted(f));
		}
		return fd;
	}
If supplied file is a symlink, converts the supplied file into the targeted file, otherwise
just returns the original file.
  
@param file {@link GFile} to convert
@return symlink targeted {@link GFile}, or original file it not a symlink, or null if
symlink path was invalid or reached outside the bounds of this file system
@throws IOException if symlinks are nested too deeply
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FileSystemIndexHelper.java