Delete invalid file in target