private void deleteDomainFile(DomainFile domFile) {
		if (domFile.isCheckedOut()) {
			Msg.error(this, "Failed to delete file as requested due to pre-existing checkout: " +
				domFile.getPathname());
			return;
		}

		try {
			domFile.delete();
		}
		catch (IOException e) {
			Msg.error(this, "Failed to delete file as requested - " + e.getMessage() + ": " +
				domFile.getPathname());
		}
	}
{@literal Run prescripts -> analysis -> postscripts (any of these steps is optional).}
@param fileAbsolutePath Path of the file to analyze.
@param program The program to analyze.
@return true if the program file should be kept.  If analysis or scripts have marked
			the program as temporary changes should not be saved.  Returns false in
			these cases:
		- One of the scripts sets the Headless Continuation Option to "ABORT_AND_DELETE" or
			"CONTINUE_THEN_DELETE".
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessAnalyzer.java