Walk the entire child scripts tree to find the right SourceFile (issue 7097)