async def METHOD_NAME(
    endpoint: str,
    access_key: str,
    secret_key: str,
    bucket_name: str,
    save_to: Path,
    swarm_stack_name: str,
    study_id: str,
    node_uuid: str,
    run_id: str,
) -> None:
    session = aioboto3.Session(
        aws_access_key_id=access_key, aws_secret_access_key=secret_key
    )
    async with session.resource("s3", endpoint_url=endpoint, use_ssl=False) as s_3:
        bucket = await s_3.Bucket(bucket_name)
        async for s3_object in bucket.objects.all():
            key_path = f"{swarm_stack_name}/{study_id}/{node_uuid}/{run_id}/"
            if s3_object.key.startswith(key_path):
                file_object = await s3_object.get()
                file_path: Path = save_to / s3_object.key.replace(key_path, "")
                file_path.parent.mkdir(parents=True, exist_ok=True)
                print(f"Saving file to {file_path}")
                file_content = await file_object["Body"].read()
                file_path.write_bytes(file_content)