Reformat definition file