Reformat Tddium file