code: def _kwargs(self):
      result = super()._kwargs()
      result["filename"] = self.filename
      if "directory" in self.__dict__:
          result["directory"] = self.directory
      return result
  
imports: import codecs
  import locale
  import logging
  import os
  from .None import backend
  from .None import tools
label_desc: Use image node_id 2 for calling the File obj's underlying member method code with example usage: obj._kwargs() and returns: result