Extended the check to handle another offset check (5, 6 and 7
characters from end of file -- 6 is new)