We don't want to read the whole file for every check. The tags should be in the first lines of the file before a blank line, so we should break this loop on the first blank line.