public function getContent($type, $name)
    {
        $finder = $this->listFiles($type)->name($name . '.*');

        if (!$finder->count()) {
            throw new Exception(sprintf(
                'No content directory find for type "%s" and name "%s" (in "%s").',
                $type,
                $name,
                $this->directory
            ));
        }

        foreach ($finder as $file) {
            return $this->load($file);
        }

        return null;
    }