question: public static File [ ] convertFileCollectionToFileArray ( Collection < File > files ) { return files . toArray ( new File [ files . size ( ) ] ) ; }
target:  Converts a Collection containing java.io.File instanced into array representation. This is to account for the difference between File.listFiles() and FileUtils.listFiles().