public void output(File outputFile, String name, int filetype, String contentType,
			TaskMonitor monitor) throws IOException, CancelledException {
		synchronized (syncObject) {
			File file = bfMgr.getBufferFile(currentVersion);
			InputStream itemIn = new BufferedInputStream(new FileInputStream(file));
			try {
				ItemSerializer.outputItem(name, contentType, filetype, file.length(), itemIn,
					outputFile, monitor);
			}
			finally {
				try {
					itemIn.close();
				}
				catch (IOException e) {
				}
			}
		}
	}
Output the current version of this database to a packed storage file.
@param outputFile packed storage file to be written
@param name database name
@param filetype application file type
@param contentType user content type
@param monitor
@throws IOException
@throws CancelledException
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/db/PrivateDatabase.java