Split child/parent branches to address cases where files exist in both.
Directly modify filesToProcess when child mapping found.