fixed error with file_obj seek and bypassed data validation of files