code: def _format_from_dict(self, format_string, **kwargs):
          
          kwargs_copy = self.base_dict.copy()
          kwargs_copy.update(**kwargs)
          localpath = format_string.format(**kwargs_copy)
          if kwargs.get('fullpath', False):
              return self.fullpath(localpath=localpath)
          return localpath
docs: Return a formatted file name dictionary components