allow change of the output format type

In my case, I needed it in txt... but I guess it is a good option overall.