added a mergefiles.awk script to handle the output files