def parse_line(line):
    """
    Parse each file's line to separate the customer from the amount
    :param line: a line from the data file
    :return: a tuple with customer and amount
    """
    value = line.split(",")
    customer = int(value[0])
    amount = float(value[2])
    return customer, amount