use different output files for the different SGs