file built-in was removed long time ago

Substitute `file(...)` for `open(...)`.
Merge pull request #36 from gns-ank/patch-1

replace file() with open()