@Override
	public GFile lookup(String path, Comparator<String> nameComp) throws IOException {
		if (path == null || path.equals("/")) {
			return root;
		}
		nameComp = Objects.requireNonNullElseGet(nameComp, this::getFilenameComparator);

		GFile current = root;
		String[] parts = path.split("/");
		partloop: for (String part : parts) {
			if (part.isEmpty()) {
				continue;
			}
			List<GFile> listing = getListing(current);
			for (GFile gf : listing) {
				if (nameComp.compare(part, gf.getName()) == 0) {
					current = gf;
					continue partloop;
				}
			}
			return null;
		}
		return current;
	}
Override to specify a file-system specific name comparator.

@return {@link Comparator} such as {@link String#compareTo(String)} or 
{@link String#compareToIgnoreCase(String)}
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/GFileSystemBase.java