public function getFile($path, $contentType) {
        if (is_file($path)) {
            $response = new Response(file_get_contents($path));
            $response->headers->set('Content-Type', $contentType);
            $response->setCharset('UTF-8');
            return $response;
        }

        return new Response('', 404);
    }