def METHOD_NAME(input_file, output_file, sub_dictionary):
    """
    This definition will substitute all the occurences of sub_dictionary's 'keys' in 
    input_file to dictionary's 'values' to create the output_file.
    @type input_file: string
    @param input_file: Absolute path of the file to read.
    @type output_file: string
    @param output_file: Absolute path of the file to create.
    @type sub_dictionary: dictionary
    @param sub_dictionary: Dictionary that specifies substitution. Key will be replaced with Value.
    """
    tinctest.logger.trace_in("input_file: %s ; output_file: %s ; sub_dictionary: %s" % (input_file, output_file, str(sub_dictionary)))
    with open(output_file, 'w') as output_file_object:
        with open(input_file, 'r') as input_file_object:
            for each_line in input_file_object:
                new_line = each_line
                for key,value in sub_dictionary.items():
                    new_line = new_line.replace(key, value)
                output_file_object.write(new_line)
    tinctest.logger.trace_out()