Missing value handling if a file exist inside a folder

Thanks @gonhaddock .

Can you suggest ideas on this if possible please.