public static FSBRootNode findContainingFileSystemFSBRootNode(FSBNode node) {
		GTreeNode parent = node.getParent();
		while (parent != null && !(parent instanceof FSBRootNode)) {
			parent = parent.getParent();
		}
		return (parent instanceof FSBRootNode) ? (FSBRootNode) parent : null;
	}
Returns the {@link FSBRootNode} that represents the root of the file system that
contains the specified file node.

@param node GTree node that represents a file.
@return FSBRootNode that represents the file system holding the file.
Ghidra/Features/Base/src/main/java/ghidra/plugins/fsbrowser/FSBNode.java