public static Path path(CoreRoutingFileSystem fileSystem, Path path) {
    return path instanceof CorePath ? path : new CorePath(fileSystem, path);
  }
public static Path path(CoreRoutingFileSystem fileSystem, Path path)