def append_content_to_file(command_object, file_path=output_file_path):
    """

    :param command_object: consists of the name and the output
    :param file_path: a file to share the commands outputs
    """
    output = repr(command_object)
    cef_get_info_file = open(file_path, 'a')
    try:
        cef_get_info_file.write(output)
    except Exception:
        print(str(command_object.command) + "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/CEF/cef_gather_info.py