add sum text to file