GetEmitOutput And Testfiles

do we need to reimplement this enum from the compiler or can we just re-use that one? Harness might want to use this down the line