public static void writeFofn(final File destination,final File... files) throws IOException {
  writeFofn(destination,Arrays.asList(files));
}

public static void writeFofn ( final File destination , final File ... files ) throws IOException { writeFofn ( destination , Arrays . asList ( files ) ) ; }
takes a list of files and writes it as a " file of file names " ( i . e . a file with one filepath on each line ) to the destination file , overwriting the destination file if it exists . note the filepath used is the absolute filepath
