def METHOD_NAME(iterator=iterator, suffix=suffix):
    for path in iterator:
        if path.endswith('.dylib'):
            yield path[:-len('.dylib')] + suffix + '.dylib'
        else:
            yield path + suffix
        yield path