public static FSBFileNode createNodeFromFile(GFile file, TaskMonitor monitor) {
		FSBFileNode result = file.isDirectory() ? new FSBDirNode(file) : new FSBFileNode(file);
		result.init(monitor);
		return result;
	}
Helper method to convert a single {@link GFile} object into a FSBNode object.

@param file {@link GFile} to convert
@return a new {@link FSBFileNode} with type specific to the GFile's type.
Ghidra/Features/Base/src/main/java/ghidra/plugins/fsbrowser/FSBNode.java