+       /**
+        * The directory page
+        *
+        * Display directory
+        *
+        * @param Request $request The request instance
+        * @param string $path The directory path
+        * @return Response The rendered view
+        */
+       public function directory(Request $request, string $path): Response {
+               header('Content-Type: text/plain');
+               var_dump($path);
+               exit;
+
+               //Render template
+               $response = $this->render('@RapsysTree/directory.html.twig', $this->context);
+
+               $response->setEtag(md5($response->getContent()));
+               $response->setPublic();
+               $response->isNotModified($request);
+
+               //Return response
+               return $response;
+       }
+
+       /**
+        * The document page
+        *
+        * Display document
+        *
+        * @param Request $request The request instance
+        * @param string $path The directory path
+        * @return Response The rendered view
+        */
+       public function document(Request $request, string $path): Response {
+               //Render template
+               $response = $this->render('@RapsysTree/document.html.twig', $this->context);
+
+               $response->setEtag(md5($response->getContent()));
+               $response->setPublic();
+               $response->isNotModified($request);
+
+               //Return response
+               return $response;
+       }
+