def METHOD_NAME(files,  file_format='csv', add_header_prefix=False, blank_value=''):
    if file_format not in DELIMITERS:
        raise ValueError('Invalid file_format: {}'.format(file_format))
    parsed_files = []
    for filename, header, rows in files:
        header_display = header
        if add_header_prefix:
            header_display = ['{}-{}'.format(str(header_tuple[0]).zfill(2), header_tuple[1]) for header_tuple in
                              enumerate(header)]
            header_display[0] = header[0]
        content_rows = [[row.get(key) or blank_value for key in header] for row in rows]
        content = '\n'.join([
            DELIMITERS[file_format].join(row) for row in [header_display] + content_rows
            if any(val != blank_value for val in row)
        ])
        content = str(content.encode('utf-8'), 'ascii', errors='ignore')  # Strip unicode chars in the content
        parsed_files.append(('{}.{}'.format(filename, file_format), content))
    return parsed_files