@Test public void testFile(){ File dir = new File("."); File[] subs = dir.listFiles(); for(File sub:subs){ System.out.println(sub); } }