private function getOutfile($filename)
{
$paths = array('rootDir' => $this->_magentoRootFolder, 'moduleDir' => $this->moduleDirectory);
/** @var $twig TwigHelper */
$twig = $this->getHelper('twig');
return $twig->renderString($filename, array_merge($this->twigVars, $paths));
}