I've been working on a project and I'm stuck at how to display a certain info when I found the word. For example. I want to search the balance sheet data of January 2015 and it will display the rest of the info in the file when found the exact month and year. I then would update that certain info if needed. I tried to make a search function but my program crashes all the time. Is it because as the file is being read, are the data not stored into their respective variables?