Added output_stats.txt and trees.txt.