Data source: http://rosettacode.org/wiki/Create_a_file