@Nullable Directory getRoot(Name name) {
    DirectoryEntry entry = tree.getRoot(name);
    return entry == null ? null : (Directory) entry.file();
  }
Returns the root directory with the given name or {@code null} if no such directory exists.
jimfs/src/main/java/com/google/common/jimfs/JimfsFileStore.java