public function beforeRender()
{
$dir = $this->getAbsoluteDirectory();
$this->template->rootDir = $this->getRoot();
$this->template->rootDirProvider = $this->rootDir;
$this->template->fileSystemCurrent = Nette\Utils\Finder::findFiles('*')->in($dir);
}