with open('filename.txt', 'r') as f:
    content = f.read()
print(content)