private boolean fileMatchesNode(GFile f, FSBNode node) {
		if (f == null) {
			return false;
		}
		if (node instanceof FSBFileNode fileNode &&
			f.isDirectory() != (fileNode instanceof FSBDirNode)) {
			return false;
		}
		return true;

	}
Returns the extension of this node's name, or "" if none

@return extension of this node's name, or "" if none
Ghidra/Features/Base/src/main/java/ghidra/plugins/fsbrowser/FSBNode.java