code: def remove_old_dumps(connection, container: str, days=None):
      
  
      if not days:
          return
  
      if days < 20:
          LOG.error('A minimum of 20 backups is stored')
          return
  
      options = return_file_objects(connection, container)
  
      for dt, o_info in options:
          now = datetime.datetime.now()
          delta = now - dt
          if delta.days > days:
              LOG.info('Deleting %s', o_info['name'])
              objectstore.delete_object(connection, container, o_info)
docs: Remove dumps older than x days