Parameterized the output file