dont output to stdout if output file set