Handle files with extra characters after the EOF marker.

In this provided file, the suffix is mb, but this patch will ignore anything after the EOF marker, provided it's part of the same line.