def parse_kid(line, kid):
    """ parses a "@   ale01.cha   1;4.28" line into name/month ("ale", 16) """
    tmp = line.split('\t')
    if len(tmp) < 3 or not (".cha" in tmp[1] or ".txt" in tmp[1]):
        return kid
    else:
        date = tmp[2].split(';')
        return (tmp[1][:3], int(date[0]) * 12 + int(date[1].split('.')[0]))