client side searchRoot method add.
delete tmp file