Let's move the break to the beginning of this loop block, and make it: `if not line.startswith('##')`. It's best if tags come first in the file and any other kind of line stops tag processing.