code: public static FileSystem createInstance(
        Configuration config, Path workingDirectory, Collection<FileStatus> fileStatuses) {
      checkNotNull(config, "configuration can not be null");
  
      FileSystem fileSystem = new InMemoryGlobberFileSystem(workingDirectory, fileStatuses);
      fileSystem.setConf(config);
  
      return fileSystem;
    }
docs: Factory method for constructing and initializing an instance of InMemoryGlobberFileSystem which
  is ready to list/get FileStatus entries corresponding to {@code fileStatuses}.