diff --git a/src/iac_scan_runner/scan_runner.py b/src/iac_scan_runner/scan_runner.py
index 199de7dea3467fdb397142709ac3e22e39726a76..87fbd1fc0c99f9cf609ec9c7b52eef78abc97d49 100644
--- a/src/iac_scan_runner/scan_runner.py
+++ b/src/iac_scan_runner/scan_runner.py
@@ -155,21 +155,17 @@ class ScanRunner:
                         scan_output[selected_check] = check_output.to_dict()                        
                         write_string_to_file(check.name, dir_name, scan_output[check.name]["output"])
                         self.results_summary.summarize_outcome(selected_check, scan_output[check.name]["output"], self.compatibility_matrix.scanned_files, Compatibility.compatibility_matrix)
-                        
                     else:
                         non_compatible_checks.append(check.name)
                         write_string_to_file(check.name, dir_name, "No files to scan")
                         self.results_summary.summarize_no_files(check.name)
-
             self.results_summary.dump_outcomes(random_uuid)
             self.results_summary.generate_html_prioritized(random_uuid)
- 
         else:
             for iac_check in self.iac_checks.values():
                 if iac_check.enabled:
                     check_output = iac_check.run(self.iac_dir)
                     scan_output[iac_check.name] = check_output.to_dict()
-
                 # TODO: Discuss the format of this output
                 write_string_to_file(
                     iac_check.name, dir_name, scan_output[iac_check.name]["output"]
diff --git a/src/iac_scan_runner/utils.py b/src/iac_scan_runner/utils.py
index b93cc2a28899b765b0950a54560407e6b1dc5a7c..5ca8727ffd479060e1ce8b6de9b9f74987ddd11c 100644
--- a/src/iac_scan_runner/utils.py
+++ b/src/iac_scan_runner/utils.py
@@ -99,7 +99,7 @@ def write_html_to_file(file_name: str, output_value: str):
         raise Exception(f"Error storing HTML to file: {str(e)}.")           
 
 
-def file_to_string(file_path: str):
+def file_to_string(file_path: str) -> str:
     """
     Reads the file given by path and returns its contents as string output
     :param file_path: Path of the file