delete the invalid file