def METHOD_NAME(file_input, dataset_authority, dataset_identifier, storage_identifier, checksum_type, checksum_value, byte_size=0):
    global my_ssh_client
    if (my_ssh_client is None):
        my_ssh_client = open_ssh_client()
        print "ssh client is not defined"
    else:
        print "reusing the existing ssh client"
    try:
        file_transfered = transfer_file(file_input, dataset_authority, dataset_identifier, storage_identifier, byte_size)
    except:
        raise ValueError("failed to transfer file")
    verify_remote_file(file_transfered, checksum_type, checksum_value)