private PrivateDatabase loadDBFromDirectory(PrivateDatabase db, File dbDir) {
		if (!dbDir.isDirectory()) {
			return null;
		}

		try {
			db = new PrivateDatabase(dbDir);
		}
		catch (IOException e) {
			// squash and handle below
		}

		if (db == null || db.getCurrentVersion() == 0) {
			FileUtilities.deleteDir(dbDir);
		}

		return db;
	}
Copies the specified program zip file to the JUnit test project's folder. <b>This
means that the program will appear in the FrontEndTool as part of the project.</b>  That is
the only reason to use this method vice openProgram().

@param folder the folder into which the domain file will be inserted
@param programName the name of the program zip file without the ".gzf" extension.
@return the file
@throws FileNotFoundException if the file cannot be found
Ghidra/Features/Base/src/main/java/ghidra/test/TestProgramManager.java