public static DomainFolder lookupDomainPath(DomainFolder currentFolder, String path) {

		String[] pathElements = path.split("/");
		for (String pathElement : pathElements) {
			pathElement = pathElement.trim();
			if (pathElement.isEmpty()) {
				continue;
			}
			currentFolder = currentFolder.getFolder(pathElement);
			if (currentFolder == null) {
				break;
			}
		}
		return currentFolder;
	}
Returns a Ghidra {@link DomainFolder} with the matching path, or null if not found.

@param currentFolder starting {@link DomainFolder}.
@param path relative path to the desired DomainFolder, using forward slashes
as separators.  Empty string ok, multiple slashes in a row treated as single slash,
trailing slashes ignored.
@return {@link DomainFolder} that the path points to or null if not found.
Ghidra/Framework/Project/src/main/java/ghidra/framework/model/ProjectDataUtils.java