def download_s3_file(bucket, key, location):
    try:
        s3 = boto3.resource('s3')
        s3.Bucket(bucket).download_file(key, location)
    except:
        exit(1)
def download_s3_file(bucket, key, location):
    try:
        s3 = boto3.resource('s3')
        s3.Bucket(bucket).download_file(key, location)
    except:
        exit(1)