Added configuration file support for output format