code: def confd_state_internal_callpoints_notification_stream_replay_registration_type_file_file(self, **kwargs):
          
          config = ET.Element("config")
          confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
          internal = ET.SubElement(confd_state, "internal")
          callpoints = ET.SubElement(internal, "callpoints")
          notification_stream_replay = ET.SubElement(callpoints, "notification-stream-replay")
          name_key = ET.SubElement(notification_stream_replay, "name")
          name_key.text = kwargs.pop('name')
          registration_type = ET.SubElement(notification_stream_replay, "registration-type")
          file = ET.SubElement(registration_type, "file")
          file = ET.SubElement(file, "file")
          file.text = kwargs.pop('file')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code