@Deprecated(forRemoval = true, since = "11.4")
	public static List<GFile> listFileSystem(GFileSystem fs, GFile dir, List<GFile> result,
			TaskMonitor taskMonitor) throws IOException, CancelledException {
		if (result == null) {
			result = new ArrayList<>();
		}

		for (GFile gFile : fs.getListing(dir)) {
			taskMonitor.checkCancelled();
			if (gFile.isDirectory()) {
				listFileSystem(fs, gFile, result, taskMonitor);
			}
			else {
				result.add(gFile);
			}
		}
		return result;
	}
Returns a list of all files in a GFileSystem.

@param fs {@link GFileSystem} to recursively query for all files.
@param dir the {@link GFile} directory to recurse into
@param result {@link List} of GFiles where the results are accumulated into, or null
to allocate a new List, returned as the result.
@param taskMonitor {@link TaskMonitor} that will be checked for cancel.
@return {@link List} of accumulated {@code result}s
@throws IOException if io error during listing of directories
@throws CancelledException if user cancels
@deprecated Use {@link GFileSystem#files(GFile)} instead
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/FSUtilities.java