adding outputfile support
adding outputfile support in config file