Simple coffeescript code to transform input file in texts