Removing files which have been moved elsewhere or permanently deleted