handle deleted files