docs: def load(self):
          """Load from a file and return an x509 object"""
  
          private = self.is_private()
          with open_tls_file(self.file_path, 'r', private=private) as fh:
              if private:
                  self.x509 = crypto.load_privatekey(self.encoding, fh.read())
              else:
                  self.x509 = crypto.load_certificate(self.encoding, fh.read())
              return self.x509