removing deleted files from record