Everyone tells you to use a three-argument open(), but there's a lot more you can do ...
When your data file is the program