output file name generation updated