You can just do:
```
f, tree, _ = fiff_open(fname)
with f as fid:
    *hack* *hack*
```