code: def read_file(self):
          
  
          # don't try to parse config file if we don't have one set
          if not self._cfg_path:
              return
  
          try:
              cfg_fp = open(self._cfg_path, 'r')
              self.readfp(cfg_fp)
          except IOError as exc:
              raise NipapConfigError(str(exc))
docs: Read the configuration file