diff --git a/.idea/sonarlint/issuestore/9/9/994b95f5d0e2f9641bf4e2c30422e6a0a6a105b5 b/.idea/sonarlint/issuestore/9/9/994b95f5d0e2f9641bf4e2c30422e6a0a6a105b5
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/.idea/sonarlint/issuestore/index.pb b/.idea/sonarlint/issuestore/index.pb
index bc34c281a508ff2504699fb4ee0b93fc0e72d98b..dae00e9a2a1b845c16075c72771f40846f9c0827 100644
--- a/.idea/sonarlint/issuestore/index.pb
+++ b/.idea/sonarlint/issuestore/index.pb
@@ -8,4 +8,6 @@ V
 C
 assets/bootstrap.js,0\3\03141036569b5869397180192f8b98c1360e1556
 E
-assets/styles/app.css,5\8\58d82e459ad700473925afc6a4d3ceb1cbdfdf19
\ No newline at end of file
+assets/styles/app.css,5\8\58d82e459ad700473925afc6a4d3ceb1cbdfdf19
+E
+public/files/text.txt,9\9\994b95f5d0e2f9641bf4e2c30422e6a0a6a105b5
\ No newline at end of file
diff --git a/.idea/sonarlint/securityhotspotstore/9/9/994b95f5d0e2f9641bf4e2c30422e6a0a6a105b5 b/.idea/sonarlint/securityhotspotstore/9/9/994b95f5d0e2f9641bf4e2c30422e6a0a6a105b5
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/.idea/sonarlint/securityhotspotstore/index.pb b/.idea/sonarlint/securityhotspotstore/index.pb
index bc34c281a508ff2504699fb4ee0b93fc0e72d98b..dae00e9a2a1b845c16075c72771f40846f9c0827 100644
--- a/.idea/sonarlint/securityhotspotstore/index.pb
+++ b/.idea/sonarlint/securityhotspotstore/index.pb
@@ -8,4 +8,6 @@ V
 C
 assets/bootstrap.js,0\3\03141036569b5869397180192f8b98c1360e1556
 E
-assets/styles/app.css,5\8\58d82e459ad700473925afc6a4d3ceb1cbdfdf19
\ No newline at end of file
+assets/styles/app.css,5\8\58d82e459ad700473925afc6a4d3ceb1cbdfdf19
+E
+public/files/text.txt,9\9\994b95f5d0e2f9641bf4e2c30422e6a0a6a105b5
\ No newline at end of file
diff --git a/public/files/text.txt b/public/files/text.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ba1fcff8f5042ff64543db10553737cc5365068
--- /dev/null
+++ b/public/files/text.txt
@@ -0,0 +1,2 @@
+Раз, два, три, четыре,
+пять, шесть, семь, восемь.
\ No newline at end of file
diff --git a/src/Controller/HomeController.php b/src/Controller/HomeController.php
index adf7c3df3260c37cc0c33f1bd9e77ba02f051511..51d19fad26bd11dfc3d01d43ebccdc5c14b1d489 100644
--- a/src/Controller/HomeController.php
+++ b/src/Controller/HomeController.php
@@ -12,14 +12,26 @@ use Symfony\Component\Routing\Attribute\Route;
 
 class HomeController extends AbstractController
 {
-    private function diffDays(DateTimeImmutable $dateStart, DateTimeImmutable $dateEnd): int {
-        return date_diff($dateStart, $dateEnd)->format("%a") ;
+    private function readLogFile(string $fileName): string {
+        $filePath = $this->getParameter('kernel.project_dir') . "/public/files/" . $fileName;
+        if (file_exists($filePath)) {
+            $text = "";
+            $file = fopen($filePath, "r");
+            while(!feof($file)) {
+                $line = fgets($file);
+                $text .= $line;
+            }
+            fclose($file);
+            return $text;
+        }
+        return "Такого файла не существует.";
     }
 
-    #[Route('/{startDate}/{endDate}', name: 'home')] // 01-01-2024
-    public function home(string $startDate, string $endDate): Response
+
+    #[Route('/{fileName}', name: 'home')]
+    public function home(string $fileName): Response // text.txt
     {
-        $countDays = $this->diffDays(new DateTimeImmutable($startDate), new DateTimeImmutable($endDate));
-        return $this->render('home.html.twig', ['count' => $countDays]);
+        $text = $this->readLogFile($fileName);
+        return $this->render('home.html.twig', ['text' => $text]);
     }
 }
diff --git a/templates/home.html.twig b/templates/home.html.twig
index 381475858820376677bcc3e573c1f0ae94515a4a..6ac2ed411b7b94d81ab8ceb44755c2679df94bf3 100644
--- a/templates/home.html.twig
+++ b/templates/home.html.twig
@@ -1,3 +1,3 @@
 {% block body %}
-    <h1>Кол-во дней между датами: {{ count }}</h1>
+    <h1>{{ text }}</h1>
 {% endblock %}
\ No newline at end of file