def _get_columns_names(ifile, delimiter=','):
    """
    Extract names from second line of EddyPro output file `ifile`.
    """
    # read second line
    with open(ifile, "r", encoding='utf8') as f_id:
        f_id.readline()
        header = f_id.readline().strip()
    # list of names
    col_names = header.split(delimiter)
    # make unique names
    for i in col_names:
        ii = col_names.count(i)
        if col_names.count(i) > 1:
            for j in range(ii):
                i1 = col_names.index(i)
                col_names[i1] = col_names[i1] + str(j+1)
    # clean names
    col_names = [ uu.replace('-', '_').replace('*', 'star').replace('%', 'percent').replace('(', '').replace(')', '').replace('/', '_')
                  for uu in col_names ]

    return col_names