output file name corresponds to input.

in preperation of running this script over a larger range of data (say
1 year or so), all output files are named after input filename.