issues with lines 46 to 48, 

if you put // in front of two of the three it changes the output file