def copy_most_recent_network():
    best_network = get_most_recent_network()
    if best_network:
        dest_file = 'networks/{}'.format(basename(best_network.name))
        if (not blob_already_exists(best_network, dest_file)):
            with open(dest_file, 'wb') as file:
                best_network.download_to_file(file)
        return dest_file
    else:
        return None
def copy_most_recent_network():
    best_network = get_most_recent_network()
    if best_network:
        dest_file = 'networks/{}'.format(basename(best_network.name))
        if (not blob_already_exists(best_network, dest_file)):
            with open(dest_file, 'wb') as file:
                best_network.download_to_file(file)
        return dest_file
    else:
        return None