def append_content_to_file(self, command_object, file_path=LOG_OUTPUT_FILE):
        """
        :param command_object: consists of the name and the output
        :param file_path: a file to share the commands outputs
        """
        output = self.format_collect_command(command_object)
        cef_get_info_file = open(file_path, 'a')
        try:
            cef_get_info_file.write(output)
        except Exception:
            print(str(command_object.command_name) + "was not documented successfully")
        cef_get_info_file.close()

        :param command_object: consists of the name and the output
        :param file_path: a file to share the commands outputs
        
DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py