public static FileResolutionResult existsAndIsCaseDependent(ResourceFile file) {
		if (!file.exists()) {
			return FileResolutionResult.doesNotExist(file);
		}

		String canonicalPath;
		try {
			canonicalPath = file.getCanonicalPath();
		}
		catch (IOException e) {
			return FileResolutionResult.doesNotExist(file);
		}

		String absolutePath = file.getAbsolutePath();
		FileResolutionResult result = pathIsCaseDependent(canonicalPath, absolutePath);
		return result;
	}
Returns true if a file exists on disk and has a case that matches the filesystem.
This method is handy for
comparing file paths provided externally (like from a user or a config file) to
determine if the case of the file path matches the case of the file on the filesystem.

@param file the file to be tested
@return a result object that reports the status of the file
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java