public static function getFinder(Request $request, $contentPath)
    {
        $requestUri = $request->getPathInfo();
        //Reject paths with . and ?
        if(false !== (strpos($requestUri, '.') || strpos($requestUri, '?')))
        {
            return false;
        }

        if($requestUri == '/')
        {
            return new Finder($contentPath);
        }

        return new Finder($contentPath . $requestUri);
    }