printCsv() returns processed lines