Removing invalid file