added locateFolder utility method