def METHOD_NAME(input_directory, output_directory, sub_dictionary, file_types=["*"], destination_file_prefix = ""):
    """
    This definition will substitute all the occurences of sub_dictionary's 'keys' in 
    input_directory's files to dictionary's 'values' to create the file in output_directory.
    @type input_directory: string
    @param input_directory: Absolute path of the directory where files will be read.
    @type output_file: string
    @param output_file: Absolute path of the directory where files will be created.
    @type sub_dictionary: dictionary
    @param sub_dictionary: Dictionary that specifies substitution. Key will be replaced with Value.
    @type file_types: list
    @param file_types: List that specifies the file types to match. Defaults to *.
    @type destination_file_prefix: string
    @param destination_file_prefix: String that will be prefixed to each file in the output_directory.
    """
    tinctest.logger.trace_in("input_directory: %s ; output_directory: %s ; sub_dictionary: %s ; file_types: %s" % (input_directory, output_directory, str(sub_dictionary), ','.join(file_types)))
    for filename in os.listdir(input_directory):
        file_match = False
        for match_pattern in file_types:
            if fnmatch(filename, match_pattern):
                file_match = True
                break
        if file_match:
            input_file_path = os.path.join(input_directory, filename)
            output_file_path = os.path.join(output_directory, destination_file_prefix + filename)
            TINCSystem.substitute_strings_in_file(input_file_path, output_file_path, sub_dictionary)
    tinctest.logger.trace_out()