code: private void cacheNameInternal(INode inode) {
      // Name is cached only for files
      if (inode.isDirectory()) {
        return;
      }
      ByteArray name = new ByteArray(inode.getLocalNameBytes());
      name = nameCache.put(name);
      if (name != null) {
        inode.setLocalName(name.getBytes());
      }
    }
docs: Adds cached entry to the map and updates INode