Flexible format

Adds flexible formatting and support for `*.xlsx` files.