This is called after an open statement of a file that is read checks if a header with serial-number is in the first line if not rewinds the file back to start