marking deletion of unused image files.