def METHOD_NAME(self, extended):
    for f in self.LOG_FILES:
        yield self._get_openfunc(f), f
    if not extended:
        return
    for f in self.LOG_FILES_EXTENDED:
        yield self._get_openfunc(f), f