Map<String, String> getDefaultArgs(String inputSubDir, Path outputDir) throws Exception {
        Map<String, String> args = new HashMap<>();

        args.put("inputDir", "\"" + getInputRoot(inputSubDir).toString() + "\"");
        if (outputDir != null) {
            args.put("outputDir", "\"" + outputDir.toString() + "\"");
        }
        return args;
    }
helper method equivalent to File#listFiles()
grabs children only, does not walk recursively

@param p
@return
tika-batch/src/test/java/org/apache/tika/batch/fs/FSBatchTestBase.java