proc writeNewickFile[T](tree: Tree[T]; filename: string)
func writeNewickString[T](tree: Tree[T]): string