code to delete thumbnails and screenshots