Removed cat file | grep pattern as cat file is unnecessary. The command becomes 'grep pattern file' again - which is the same as the first example. Updated #Advanced description to be more descriptive.
Otherwise, the loop just prints the words 'file' and 'found' on separate lines.