GetEmitOutput function and testfiles

this seems redundant.  Can you just check if singleOutputFileName is present?