using context manager in files tutorial