public function download()
    {
        if ( ! $this->exists() ) {
            throw new FileExistException('Remote template does not exist');
        }

        try {
            $result = $this->getSoapClient()->DownloadTemplate(array(
                'filename' => basename($this->getName()) ));

            return base64_decode($result->DownloadTemplateResult);
        } catch ( SoapException $ex ) {
            throw new DownloadException('Error while downloading the remote template from Livedocx service' , $ex);
        }
    }