code: private function all(?string $name): array
      {
          $array = [];
          foreach ($this->filesystem->listContents() as $file) {
              if (is_null($name)) {
                  $array[] = [$file, $this->filesystem->read($file['path'])];
              } else {
                  if ($file['filename'] === ($name ?: Seed::DEFAULT_SEED)) {
                      $array[] = [$file, $this->filesystem->read($file['path'])];
                      break;
                  }
              }
          }
  
          return $array;
      }
docs: Find all seed's in the default Flysystem path.
  
  @param string|null $name
  @return array
  @throws \League\Flysystem\FileNotFoundException