code: def _enum_lines(self):
          
          with _open_table(self.path, self.encoding) as lines:
              for i, line in enumerate(lines):
                  yield i, line
docs: Enumerate lines from the attached file.