protected function callReadMethod($file, $controller)
    {
        if (!$file->isFile()) {
            return '';
        }

        $extension = $file->getExtension();

        foreach ($this->getMethods() as $method => $extensions) {
            if (in_array($extension, $extensions)) {
                return $this->$method($file, $controller);
            }
        }

        return $this->viewInfo($file, $controller);
    }