create a python program that takes a text file input.