Moving write sym file to write_tree.