public static void forEachFile(File resourceFile, Consumer<File> consumer) {
		if (!resourceFile.isDirectory()) {
			return;
		}

		File[] files = resourceFile.listFiles();
		if (files == null) {
			return;
		}
		for (File child : files) {
			consumer.accept(child);
		}
	}
A convenience method to list the contents of the given directory path and pass each to the
given consumer.  If the given path does not represent a directory, nothing will happen.

@param resourceFile the directory
@param consumer the consumer of each child in the given directory
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java