public static void createCategory(Category parent, String categoryName) throws Exception {
		DataTypeManager dtm = parent.getDataTypeManager();
		int id = dtm.startTransaction("create category");
		try {
			parent.createCategory(categoryName);
		}
		finally {
			dtm.endTransaction(id, true);
		}

	}
Trims the given string if it ends with {@link #ARCHIVE_FILE_EXTENSION}.
@param archiveName The name to trim
@return The original name, trimmed as necessary
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/DataTypeTestUtils.java