private function getGalleryList(Response $response)
    {
        $list = $this->manager->getGalleryList();
        foreach ($list as $gallery) {
            /* @var \FDevs\Photatoes\Gallery $gallery */
            $file = $this->prepareGallery($gallery);
            $response->addFile($file);
            $response->addTreeFile($file);
        }
    }