def push_to_S3(filename, jsonToUpload): k = Key(bucket) k.key = filename k.set_contents_from_string(jsonToUpload)