Add option to output to a data-file