Ignore any junk at the end of the file