def pop(lines):
    """
    Pop from the top of list, this has the (desired) side-effect of removing the first line from the list.
    :param lines: the list of extracted text fields, one per line
    :return: the next line
    """
    return lines.pop(0)