Implement and test detection of deleted files