@Override
	public List<GTreeNode> generateChildren(TaskMonitor monitor) throws CancelledException {
		try {
			return FSBNode.createNodesFromFileList(file.getListing(), monitor);
		}
		catch (IOException e) {
			// fall thru, return empty list
		}
		return List.of();
	}
GTreeNode that represents a directory on a filesystem.
Ghidra/Features/Base/src/main/java/ghidra/plugins/fsbrowser/FSBDirNode.java