consider using as a context manager: `with open(...)`