private function getFileContent($pathToFile)
    {
        $level = error_reporting(0);
        $content = file_get_contents($pathToFile);
        error_reporting($level);

        if (false === $content) {
            $error = error_get_last();
            throw new RuntimeException($error['message']);
        }

        return $content;
    }