protected function read($stub_path)
    {
        $content = $this->stubbox->read($stub_path);

        if ($content === false) {
            throw new InvalidArgumentException("File '$stub_path' is not found.");
        }

        return $content;
    }