private void showErrorSummary(boolean wasCancelled) {
		int successFileCount = filesToDelete.size() - erroredFileCount;
		int successFolderCount = foldersToDelete.size() - erroredFolderCount;

		//@formatter:off
		String msg =
			"<html><div>Status: " + (wasCancelled ? "Canceled" : "Finished") +" with errors" +"</div>" +
			"<div style='margin-bottom: 20pt;'>Elapsed time: " + DateUtils.formatDuration(elapsedTime) + "</div>" +
			"<table style='margin-bottom: 20pt;' width='100%'>" +
			"<tr><td></td><td style='text-align: center'>Successful</td><td style='text-align: center'>Errored</td><td style='text-align: center'>Bytes</td></tr>" +
			"<tr><td>Files</td><td style='text-align: center'>" + successFileCount + "</td><td style='text-align: center'>" + erroredFileCount + "</td><td style='text-align: center'>" + FileUtilities.formatLength(fileBytesDeleted) + "</td></tr>" +
			"<tr><td>Folders</td><td style='text-align: center'>" + successFolderCount + "</td><td style='text-align: center'>" + erroredFolderCount + "</td><td></td></tr>" +
			"</table>" +
			"</div></body></html>";
		//@formatter:on

		boolean hasErrors = erroredFileCount > 0 || erroredFolderCount > 0;
		SystemUtilities.runSwingLater(() -> showResults(hasErrors, msg));
	}
Creates a new task to delete the specified files and folders.

@param files - the {@link DomainFile files} the user requested to be deleted, or null.
@param folders - the {@link DomainFolder folders} the user requested to be deleted, or null.
@param parentComponent - parent java awt component that will be parent of the message dialogs and such.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/ProjectDataDeleteTask.java