ajout generate_tree_from_file