Deleting unrelated pictures