def read_log_file(file_path):
    """
    reads the values from a log_file
    :param file_path: path to the log file
    :return: indices, values => indices and values for them
    """
    indices, values = [], []  # initialize these to empty lists
    with open(file_path, "r") as filer:
        for line in filer:
            ind, val = line.strip().split("\t")
            ind, val = int(ind), float(val)
            indices.append(ind)
            values.append(val)
    return indices, values