@Override
	public synchronized void addFileTransform(SourceFile sourceFile, String path) {
		SourceFile validated = new SourceFile(path);
		if (!validated.getPath().equals(path)) {
			throw new IllegalArgumentException("path not normalized");
		}
		int txId = userData.startTransaction();
		String sourceString = getString(sourceFile);
		try {
			userData.setStringProperty(USER_FILE_TRANSFORM_PREFIX + sourceString,
				path);
		}
		finally {
			userData.endTransaction(txId);
		}
		fileMap.put(sourceString, path);
	}
Throws an {@link IllegalArgumentException} if {@code directory} is not
a valid, normalized directory path (with forward slashes).
@param directory path to validate
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/sourcemap/UserDataPathTransformer.java