Removing photos that are not being used