Adds the logfile

Well I mean really they just tell you to use a different `with` statement if you're _not_ using files and you want to be real careful:

```python
from contextlib import closing
import urllib

with closing(urllib.urlopen('http://www.python.org')) as page:
    for line in page:
        print line
```

(from https://docs.python.org/2/library/contextlib.html#contextlib.closing)