def find_data_file_handle(bundle):
    for fileHandle in bundle['fileHandles']:
        if fileHandle['id'] == bundle['entity']['dataFileHandleId']:
            return fileHandle
    return None
Return the fileHandle whose ID matches the dataFileHandleId in an entity bundle
dataset/ETHPy150Open Sage-Bionetworks/synapsePythonClient/synapseclient/utils.py/find_data_file_handle