def write(trees, handle, plain=False, **kwargs):
 return Writer(trees).write(handle, plain=plain, **kwargs)

def write ( trees , handle , plain = False , ** kwargs ) : return Writer ( trees ) . write ( handle , plain = plain , ** kwargs )
write something to a file in a certain directory .