protected function viewText($file, $controller)
    {
        $data = array(
            'file' => $file,
            'content' => file_get_contents($file->getRealPath())
        );

        return $controller->render('file_manager|readers/text', $data);
    }