public Output createOutput() {
if (outputFile()!=null){
return new OutputFile(outputFile(), forceOverride(), compression);
} else {
if (outputCmd()!=null){
return new OutputCommand(outputCmd(), compression);
} else {
return new OutputCommand(outputCmdArray(), compression);
}
}
}