save output files to their own directory