Sync for treeview and tree files