utility to read sum file