I have 2 text files. My first file is my primary file which I'm reading data from. I have a condition that if it's true I have to open another file and get the line of data that goes with the first file text. My problem is I can read a text file within a file but I can't go back to my main file. I only get the first line and the second line involves me going into the other file but doesn't go back to the first file. I only want the read the line of the second file only when the condition is true then go to the second file and get the data.