GetEmitOutput function and testfiles

still not quite getting why we'd want it to be a function.  Why can't we just pass in the right value if this is the batch case versus the LS case?