# Example of reading from a file try: with open("example.txt", "r") as file: data = file.read() print("File Contents:", data) except FileNotFoundError: print("File not found.")