def METHOD_NAME(prof, fname, pid ,idmap):
  # print '    %-40s' % os.path.basename(fname),
    with open(fname, 'r') as fin:
        for line in fin.readlines():
            if ' ACTIVATE ' in line:
                handle_line(prof, line.strip(), pid, idmap)
  # print
  # print idmap