diff --git a/config/services.yaml b/config/services.yaml
index b94693fdbf9061dac0ca1ae39c5da8d4464a842f..c18468a7cbc5f2154eb15a3b1bf350f76974203a 100644
--- a/config/services.yaml
+++ b/config/services.yaml
@@ -21,7 +21,4 @@ services:
             - '../src/Kernel.php'
 
     # add more service definitions when explicit configuration is needed
-    # please note that last definitions always *replace* previous ones
-    App\Service\FileUploader:
-        arguments:
-            $targetDirectory: '%kernel.project_dir%/public/files/'
\ No newline at end of file
+    # please note that last definitions always *replace* previous ones
\ No newline at end of file
diff --git a/src/Controller/HomeController.php b/src/Controller/HomeController.php
index dae67e7ab3fc347fc5a5f01b52b0c02ed7f553dd..0570b8c12483ca4d268fe202b76e3957a5570358 100644
--- a/src/Controller/HomeController.php
+++ b/src/Controller/HomeController.php
@@ -3,7 +3,6 @@
 namespace App\Controller;
 
 use App\Action\Functions;
-use App\Service\FileUploader;
 use App\Requests\{
     SortPriceRequest,
     SearchRequest,
@@ -99,7 +98,7 @@ class HomeController extends AbstractController
     public function readLogFile(Request $request): Response
     {
         $file = $request->files->get('file');
-        $text = $this->functions->readLogFile($file);
+        $text = $this->functions->readLogFile($file->getRealPath());
         $response = new JsonResponse($text);
         $response->setEncodingOptions(JSON_UNESCAPED_UNICODE);
         return $response;