added file line formatting

formatting function for the transaction summary file lines was added,
will output lines in CC_AAAAAA_BBBBBB_MMMMMMMM_NNNNNNNNNNNNNNN format