why do you define variable for the input file name but no for the output?