I deleted some records so some of the positions are off but the idea remains that same. The basic idea is I need to read each line and test if it has a picture tag. If it does output it in a different format, otherwise ignore and loop back. The main code I have is: