can also do

```python
with open(...) as f:
    ...
```