mbickel
04/19/2017, 4:43 PMFiles.newBufferedReader("myfile").use { f -> f.readText().splitToSequence("\n\n").forEach{ } }
does, but for multiple files w/o reading the full text of each file before splitting it. Someone got an idea? Or should I pen this on SO?