def open_file_from_row(filename, row=0):
    """
    open from a row reference, like some csv files come with their headers starting on later lines
    """

    file = open(filename, encoding='utf-8')
    for i in range(row):  # skip rows
        next(file)

    return file