You don't have to call ```get_file```, you can read a file to memory:

```
with host.open(authfilename) as f:
    for line in f: ...
```