python program to read a text file and navigate inside (you can select each line)