public void saveAs(File saveFile) throws DuplicateFileException, IOException {
		ResourceFile resourceSaveFile = new ResourceFile(saveFile);
		validateFilename(resourceSaveFile);
		try {
			packedDB = ((PackedDBHandle) dbHandle).saveAs("DTArchive", saveFile.getParentFile(),
				saveFile.getName(), TaskMonitor.DUMMY);
			file = resourceSaveFile;
			updateRootCategoryName(resourceSaveFile, getRootCategory());
		}
		catch (CancelledException e) {
			// Cancel can't happen because we are using a dummy monitor
		}
		finally {
			clearUndo();
		}
	}
Saves the data type manager to the given file
@param saveFile the file to save
@throws DuplicateFileException if save file already exists
@throws IOException if IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/FileDataTypeManager.java