Need help in with file explorer picker

I am able to achieve this with repeatif condition