private static Path createPathFromURI(Path sourceFile, URI resolved) throws URISyntaxException {
		String scheme = resolved.getScheme();
		if (scheme == null) {
			// res = new File(fileURI.getPath()).toPath();
			return Paths.get(resolved.getRawPath());
		}

		if (scheme.startsWith("file")) {
			// bug?...we are sometimes handed a URI of the form 'file:/some/path', where the 
			// single '/' is not a valid file URI
			URI uri = new URI("file://" + resolved.getRawPath());
			return Paths.get(uri);
		}

		return Paths.get(resolved); // for now, allow non-local paths through to be handled later
		// throw new AssertException("Don't know how to handle path URI: " + sourceFile);
	}
Turn an HTML HREF reference into an absolute path.  This will locate files based upon 
relative references, specialized help system references (i.e., help/topics/...),  and 
absolute URLs.

@param sourceFile the reference's source file
@param ref the reference text
@return an absolute path; null if the URI is remote
@throws URISyntaxException if there is an exception creating a URL/URI for the image location
Ghidra/Framework/Help/src/main/java/help/HelpBuildUtils.java