Modified mm.c to generate the outputfile's name based on time(0)