I had the same question when I jumped into the code, and ultimately just kept doing what was being done before, but could it be that it was desirable to have an iterator rather than the entire list all at once?   `re.finditer` seems to take its time in returning lines.