docs: def parse(self):
          """Process file."""
          self._fd = None
          try:
              self._parse_real()
          finally:
              if self._fd:
                  self._fd.close()
                  self._fd = None