merge search folder API in windows and linux