Change how files are opened
Change how files are opened

Not only has Python 3 removed `file()` in favor of `open()`, it's better
to use `open()` to open files anyway. While this code will probably be
rewritten anyway, this is the beginning of supporting Python 3.

dirn/When.py