public function format($content, $originalFilename)
    {
        $pathInfo = pathinfo($originalFilename);
        $filename = sys_get_temp_dir().'/pygmentize_'.sha1(uniqid()).(isset($pathInfo['extension']) ? '.'. $pathInfo['extension'] : '');
        $this->fs->touch($filename);
        $h = fopen($filename, 'w');
        fwrite($h, $content);
        fclose($h);

        return $this->formatFile($filename, $this->binary->guessLexer($filename));
    }