with open("demo.txt") as file:
    for item in file:
        print(item)