def METHOD_NAME():
    fn = os.path.join(args.dir,'oxauth_persistence_duration.log')
    if not os.path.exists(fn):
        print "File {0} does not exists".format(fn)
        return
    rdict = {}
    operations = {}
    buckets = {}
    for l in open(fn):
        ls = l.split(',')
        operation = ls[1].split('operation: ')[1]
        bucket = ls[3].strip()[8:]
        if not bucket in buckets:
            buckets[bucket] = []
        if not operation in args.operation:
            continue
        ds = ls[2].strip()[12:-1]
        if 'M' in ds:
            m,s=ds.split('M')
            d= float(m)*60 + float(s)
        else:
            d = float(ds)
        if d > args.min:
            if len(ls)>6:
                p = ls[5].strip()
            else:
                p = ls[4].strip()
            if p in rdict:
                rdict[p].append(d)
            else:
                rdict[p] = [d]
            operations[p] = operation
    if args.groupby == 'bucket':
        print "Grouped by", args.groupby
    sn = 0
    st = 0
    result = []
    for path in rdict:
        data = rdict[path]
        n = len(data)        
        sn += n
        t = sum(data)
        a = t/n
        result.append({'count': n, 't_sum': t, 't_avg': a, 'key': path, 'operation': operations[path]})
        st += t
    print_result(result, "expression", "DURATIONS LOG ANALYSES")