Finished app, you can specify newLine or csv as the output mode