fixed error handling on sequential file check