using input file stem as output file stem defaultly