I can't find the close statement of this file descriptor. In order to avoid that, and also because is more pythonic, use the with statement, also, file is a python reserved word, I'd use a more descriptive naming, that will avoid possible problems:

```python
with open('checklist', 'r') as f:
    #operate the file here, don't need to close or open