Added function to detect the files that have been deleted from the filesystem that still exists in the catalog