def upload_file(client, bucket, local_path, remote_path, overwrite=False):
bucket = client.get_bucket(bucket)<EOL>blob = storage.Blob(remote_path, bucket)<EOL>if (not overwrite) and blob.exists():<EOL><INDENT>raise Conflict('<STR_LIT>')<EOL><DEDENT>blob.upload_from_filename(local_path)<EOL>
Uploads a file to a bucket.

    TODO: docstring