code: def name(self):
      
      if self._name is None:
        # Directory entries without a location in the path specification
        # are not given a name for now.
        location = getattr(self.path_spec, 'location', None)
        if location is not None:
          self._name = self._file_system.BasenamePath(location)
        else:
          self._name = ''
      return self._name
docs: str: name of the file entry, which does not include the full path.