user can set output files, better handling of archiving