Changed dateFileName to print the leading zeroes to the date