support for output-file for plain format