public function resolve(Request $request, Response $response, UriPath $uriPath)
    {
        $routeName = $uriPath->remaining('index.html');
        if (!file_exists($this->routePath . $routeName)) {
            return $response->notFound();
        }

        return $this->modifyContent(
                $request,
                $response,
                file_get_contents($this->routePath . $routeName),
                $routeName
        );
    }