Fixed missing output

This fixes your missing output and also corrects the search so you are only searching the image file name instead of the entire path inside of each text file.

You need to add some logic to prevent it from searching files that have been found inside of a text file.