private void reconcileFileIDConflict(GhidraFile df1, GhidraFile df2) {
		try {
			String path1 = df1.getPathname();
			String path2 = df2.getPathname();
			if (!df1.isCheckedOut() && !df1.isVersioned()) {
				Msg.warn(this, "WARNING! changing file-ID for " + path1);
				df1.resetFileID();
			}
			else if (!df2.isCheckedOut() && !df2.isVersioned()) {
				Msg.warn(this, "WARNING! changing file-ID for " + path2);
				df2.resetFileID();
			}
			else {
				// Unable to resolve conflict
				Msg.error(this, "The following project files have conflicting file-IDs!\n" + path1 +
					"\n" + path2);
			}
			fileIdToPathIndex.put(df1.getFileID(), path1);
			fileIdToPathIndex.put(df2.getFileID(), path2);
		}
		catch (IOException e) {
			Msg.error(this, "Error while resolving file IDs", e);
			e.printStackTrace();
		}
	}
Helper class to maintain mapping of fileID's to DomainFile's.
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DomainFileIndex.java