code: def __init__(self, text, value, *args, **kwargs):
      kwargs = kwargs.copy()
      self.get_directory_fn = kwargs.pop("get_directory_fn", None)
      self.set_directory_fn = kwargs.pop("set_directory_fn", None)
      self.browse_msg = kwargs.pop("browse_msg", "Choose a file")
      self.exts = kwargs.pop("exts", None)
      self.mode = kwargs.pop("mode", self.MODE_OPEN)
      super(Filename, self).__init__(text, value, *args, **kwargs)
      self.browsable = True
  
imports: from ._text import Text
label_desc: Use image node_id 1 to create a new Filename object from inherited base classes: Text with example: obj = Filename(text, value)