python try: file = open("example.txt", "r") contents = file.read() print(contents) except FileNotFoundError: except PermissionError: finally: file.close()