add search from repository folder function