Heuristics

do not forget to close the file or use File.open with a block.