Add --output-file option

Closes #15
Merge branch 'feature/output-file' into 'master'

Add --output-file option

Addresses #15

This is, however, unfortunately affected by #17. That will need to be fixed before this can be merged.

See merge request !15