code: @Override
      public InternalWsResource asResource(File file, boolean isFile) {
          if (file == null)
              return null;
  
          String normalPath = PathUtils.normalize(file.getAbsolutePath());
          if (!isFile)
              normalPath += "/";
  
          SymbolicRootResource root = resolveRoot(normalPath);
          return LocalFileResource.newResource(normalPath, null, root);
      }
docs: {@inheritDoc}