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