@Override
	protected void processDirectory(GFile srcGFileDirectory, File destDirectory,
			TaskMonitor monitor) throws IOException, CancelledException {
		if (!shouldSkip(srcGFileDirectory)) {
			super.processDirectory(srcGFileDirectory, destDirectory, monitor);
		}
	}
Task that restores a Ghidra Project Archive file (a zip file with a .gar extension)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/archive/RestoreTask.java