code: def list(self, detail=False):
          
          creds_provider = CredentialsManager(upload_area=self)
          s3agent = S3Agent(credentials_provider=creds_provider)
          key_prefix = self.uuid + "/"
          key_prefix_length = len(key_prefix)
          for page in s3agent.list_bucket_by_page(bucket_name=self.uri.bucket_name, key_prefix=key_prefix):
              file_list = [key[key_prefix_length:] for key in page]  # cut off upload-area-id/
              if detail:
                  files_info = self.upload_service.api_client.files_info(self.uuid, file_list)
              else:
                  files_info = [{'name': filename} for filename in file_list]
              for file_info in files_info:
                  yield file_info
docs: A generator that yields information about each file in the upload area
          :param detail: return detailed file information (slower)
          :return: a list of dicts containing at least 'name', or more of detail was requested