def METHOD_NAME(lines, delimiter=None, field_no=0, pass_comments=False,
                   comment_prefix='#'):
    for l in lines:
        if not delimiter:
            l = l.strip()
        if len(l) == 0:
            continue
        if l[0] == comment_prefix:
            if pass_comments:
                print(l)
            continue
        fields = l.split(delimiter)
        yield fields[field_no]