public static FileSystem newFileSystem(String name) {
    return newFileSystem(name, Configuration.forCurrentPlatform());
  }
Creates a new in-memory file system with a {@linkplain Configuration#forCurrentPlatform()
default configuration} appropriate to the current operating system.

<p>More specifically, if the operating system is Windows, {@link Configuration#windows()} is
used; if the operating system is Mac OS X, {@link Configuration#osX()} is used; otherwise,
{@link Configuration#unix()} is used.

<p>The returned file system uses the given name as the host part of its URI and the URIs of
paths in the file system. For example, given the name {@code my-file-system}, the file system's
URI will be {@code jimfs://my-file-system} and the URI of the path {@code /foo/bar} will be
{@code jimfs://my-file-system/foo/bar}.
jimfs/src/main/java/com/google/common/jimfs/Jimfs.java