with open("fruits.txt") as myfile: content = myfile.read() print(content)