reformat the boost file (output)