Deleting extra image files