delete invalid file