def METHOD_NAME(fn, sn):
    """ Sum .gcov file into counts, then delete it """
    dd = counts.get(sn)
    if dd is None:
        dd = {}
    for ln in open(fn, encoding="UTF-8"):
        d = ln.split(":")
        cnt = d[0].strip()
        ll = d[1]
        if cnt == "-":
            continue
        if cnt == "#####":
            cnt = 0
        else:
            cnt = int(cnt)
        lno = int(d[1])
        if lno not in dd:
            dd[lno] = 0
        dd[lno] += cnt
    counts[sn] = dd
    pl = lengths.get(sn)
    ll = ll.strip()
    if d[2] == "/*EOF*/\n":
        ll = pl
    elif pl != ll and not pl is None:
        print("CONFLICT", fn, ll, pl)
        ll = "-1"
    lengths[sn] = ll
    os.remove(fn)