added m to output file and padded with 3 zeros.