private function findFile($uriPath)
    {
        return array_reduce($this->paths, function ($file, $path) use ($uriPath) {
            if (false !== $file) {
                return $file;
            }

            $file = $path . $uriPath;
            if (is_file($file) && is_readable($file)) {
                return $file;
            }

            return false;
        }, false);
    }