void packFile(File file, TaskMonitor monitor) throws IOException, CancelledException {
		synchronized (fileSystem) {
			FolderItem item = folderItem != null ? folderItem : versionedFolderItem;
			item.output(file, FolderItem.LATEST_VERSION, monitor);
		}
	}
Pack domain file into specified file.
Specified file will be overwritten if it already exists.
@param file destination file
@param monitor the task monitor
@throws IOException if there is an exception packing the file
@throws CancelledException if monitor cancels operation
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/GhidraFileData.java