Handle deleted files better.