reformat file output for type change