def get_out_path(config):
    """
    Returns path where summary output is copied after d-blink finishes running

    :param config: ConfigTree
    :return: path if it exists, otherwise None
    """
    steps = config.get_list('dblink.steps')
    copy_steps = [a for a in steps if a.get_string('name') == 'copy-files'] # filter out 'copy-files' steps
    if len(copy_steps) == 0:
        return None
    if len(copy_steps) == 1:
        return copy_steps[0].get_string('parameters.destinationPath')
    else:
        raise NotImplementedError('Too many copy-files steps')