GetEmitOutput And Testfiles

Use forEach