one line less on output file name definition