@Override
	public synchronized LocalDataFile createDataFile(String parentPath, String name,
			InputStream istream, String comment, String contentType, TaskMonitor monitor)
			throws InvalidNameException, IOException, CancelledException {

		if (readOnly) {
			throw new ReadOnlyException();
		}

		testValidName(parentPath, true);
		testValidName(name, false);

		ItemStorage itemStorage = allocateItemStorage(parentPath, name);
		LocalDataFile dataFile = null;
		try {
//TODO handle comment
			PropertyFile propertyFile = itemStorage.getPropertyFile();
			dataFile = new LocalDataFile(this, propertyFile, istream, contentType, monitor);
		}
		finally {
			if (dataFile == null) {
				deallocateItemStorage(parentPath, name);
			}
		}

		eventManager.itemCreated(parentPath, name);

		return dataFile;
	}
Notification that FileID has been changed within propertyFile
@param propertyFile
@param oldFileId
@throws IOException
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/LocalFileSystem.java