delete invalid file.