public function display($file, $directory = null, $directOutput = false)
    {
        $output = Factory::getInstance()->output;
        $directory = (is_null($directory) ? $this->directory : $directory);

        if ($directOutput === true)
        {
            echo $this->get($file, $directory);
        }
        else
        {
            $output->append_output($this->get($file, $directory));  
        }
        
        return;
    }