Use `with` statement on file open
Merge pull request #2 from 1024jp/refactor/with

Commit merged: Use `with` statement on file open