def get_file_properties(session, file_id, request_headers, error):
    'Get file name and size (in bytes).'
    response = make_get_request(session=session, url=get_api_file_url(file_id=file_id), headers=request_headers, error=error)
    info = response.json()['Response']
    return (info['Name'], info['Size'])
Get file name and size (in bytes).
def get_file_properties(session, file_id, request_headers, error):
    
    response = make_get_request(session=session, url=get_api_file_url(file_id=file_id), headers=request_headers, error=error)
    info = response.json()['Response']
    return (info['Name'], info['Size'])