code: @Override
      public DirectoryStream<Path> newDirectoryStream(final Path dir, final Filter<? super Path> filter)
          throws IOException {
          final FileSystem fs = dir.getFileSystem();
          if (!(fs instanceof ShrinkWrapFileSystem)) {
              throw new IllegalArgumentException("Expected ShrinkWrap File System for Path: " + dir.toString());
          }
          return new ShrinkWrapDirectoryStream(dir, (ShrinkWrapFileSystem) fs, filter);
      }
docs: {@inheritDoc}
  
  @see java.nio.file.spi.FileSystemProvider#newDirectoryStream(java.nio.file.Path,
  java.nio.file.DirectoryStream.Filter)