adjust output filename