BatchProcess getNewBatchRunner(String testConfig, Map<String, String> args) throws IOException {
        InputStream is = getResourceAsStream(testConfig);
        BatchProcessBuilder b = new BatchProcessBuilder();
        BatchProcess runner = b.build(is, args);

        IOUtils.closeQuietly(is);
        return runner;
    }
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