model: filename are uppercase now
cli: add output file ooption