Always use a context manager to open files