code: def save_correlation_matrix_from_folder(folder_path):
          
          file_name = "output-" + str(int(time.time()))
          output_folder = os.path.join(folder_path, file_name)
          os.makedirs(output_folder)  # make necessary folders to create directory
  
          for file in list_content(folder_path, False, False):
              if is_file(file) and str(file).endswith("csv"):
                  print("Analysing file ", str(file))
  
                  file_name = Document(file).name.strip()
                  output_file_name = file_name + ".png"  # save output as image
                  output_file_path = os.path.join(output_folder, output_file_name)
                  headers, data = CSVParser.get_headers_data(file)  # parse
                  matrix = CorrelationMatrix(
                      "Correlation of logs data for file " + file_name,
                      headers,
                      headers,
                      data
                  )
                  matrix.save_to_file(output_file_path)
docs: Saves each file's correlation matrix of common headers
  
          :param folder_path: Folder containing logs data