Added iteration to output filename