Changed the extensions of the output files