remove invalid file