add a file have root node at the begging