private static JimfsFileSystem getFileSystem(Path path) {
    return (JimfsFileSystem) checkPath(path).getFileSystem();
  }
Gets the file system for the given path.
jimfs/src/main/java/com/google/common/jimfs/JimfsFileSystemProvider.java