def METHOD_NAME(self, start_str: str, end_str: str):
    # retrieves a list of lines between a start and an end token
    in_items = False
    items = []
    for line in self._file:
        if start_str in line:
            in_items = True
        elif in_items and end_str in line:
            in_items = False
            break
        elif in_items and "-" in line[0]:
            items.append(line.strip())
    return items