reformat sparkup file