<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append_dictionary_to_file(localization_key_to_comment, file_path, section_name):
 """ Appends dictionary of localization keys and comments to a file Args: localization_key_to_comment (dict):
 A mapping between localization keys and comments. file_path (str):
 The path of the file to append to. section_name (str):
 The name of the section. """

    output_file = open_strings_file(file_path, "a")
    write_section_header_to_file(output_file, section_name)
    for entry_key, entry_comment in sorted(localization_key_to_comment.iteritems(), key=operator.itemgetter(1)):
        output_file.write(u'\n')
        write_entry_to_file(output_file, entry_comment, entry_key)
    output_file.close()