now generates only one output file