def load_aws_s3(source_url, sink_path):
    """
    Load a file from AWS S3.

    Parameters
    ----------
    source_url : str
        Where to load the file from.
    sink_path : str
        Where the loaded file is stored.
    """
    import boto3
    url = source_url[len('s3://'):]
    bucket, key = url.split('/', 1)
    if len(key) == 0:
        raise ValueError("Key was empty for source_url='{}'".format(source_url)
            )
    client = boto3.Session().client('s3')
    response = client.get_object(Bucket=bucket, Key=key)
    body_string = response['Body'].read()
    with open(sink_path, 'wb') as f:
        f.write(body_string)
