fix for #3019

Solves #3019

Review @devoncarew 
This will traverse into the child folders as well. We can probably scope this just to direct children of destRes.