Added support for file format

Hi,

i needed my resulting files to be of an consistent file format, so I added support for it.

Thanks,
Seb