private void preprocessFile(DomainFile file, TaskMonitor monitor) {
		if (filesToDelete.containsKey(file)) {
			return;
		}

		if (file.isVersioned() && file.isCheckedOut()) {
			failPreprocessCheckedOut.add(file);
			return;
		}
		if (file.isReadOnly()) {
			failPreprocessReadOnly.add(file);
			return;
		}

		filesToDelete.put(file, null);
	}
Iterates over the user-supplied files and folders, saving the discovered files and
subfolders and their files into {@link #filesToDelete} and {@link #foldersToDelete}.

@param monitor
@return
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/ProjectDataDeleteTask.java