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;
    }