public function getTableFileName($format = null, $vars = array())
    {
        if (0 === strlen($filename = $this->getDocument()->translateFilename($format, $this, $vars)))
        {
            $filename = implode('.', array($this->getSchema()->getName(), $this->getRawTableName(), $this->getFormatter()->getFileExtension()));
        }

        return $filename;
    }