Added script to merge .dat files