human
Complete the below
def data_callback_factory(variable):

    ''''Returns a callback suitable for use by the FTP library. This callback
    will repeatedly save data into the variable provided to this function. This
    variable should be a file-like structure.'
    '''
assistant
#Here is the Python code you requested.
    def callback(data):
        variable.write(data)
        return
    return callback