question: private void writeCsvFile ( String filename , int numberOfLinesAfterHeader ) { BufferedWriter bw = IOUtils . getBufferedWriter ( filename ) ; try { for ( int i = 0 ; i < numberOfLinesAfterHeader ; i ++ ) { bw . write ( "1,37ff9d8e04c164ee793e172a561c7b1e,585045643000,28.2402534484863,-26.1793403625488,22,8,1000,0,29,0,60" ) ; bw . newLine ( ) ; } } catch ( IOException e ) { e . printStackTrace ( ) ; fail ( "Could not write to " + filename ) ; } finally { try { bw . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; fail ( "Could not close " + filename ) ; } } }
target:  Writes out a dummy CSV file to a given location. The file has no header and just repeats one line taken from the actual input of one file.