We want to make sure that we close the settings_file handle when we're done with it. A simple way of doing that in python is to use ``with``. Something like so

```
with open(settings_file) as f:
   json.load(f.read())
```
see http://effbot.org/zone/python-with-statement.htm for an explanation