save RMES output in a file rather than to STDOUT