made consistent in output functions i.e. ${OUTFILE:-/dev/stdout}