private boolean isRecoveryOK(final DomainFile dfile)
			throws InterruptedException, InvocationTargetException {
		final boolean[] recoverFile = new boolean[] { false };
		if (dfile.isInWritableProject() && dfile.canRecover()) {
			Runnable r = () -> {
				int option = OptionDialog.showYesNoDialog(null, "Crash Recovery Data Found",
					"<html>" + HTMLUtilities.escapeHTML(dfile.getName()) + " has crash data.<br>" +
						"Would you like to recover unsaved changes?");
				recoverFile[0] = (option == OptionDialog.OPTION_ONE);
			};
			SwingUtilities.invokeAndWait(r);
		}
		return recoverFile[0];
	}
Open archive in an immutable fashion.  Unlike ProgramDB, we do not want to 
allow upgrade or modification of a read-only archve (e.g., not-checked-out).
@param monitor task monitor
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/OpenDomainFileTask.java