def dfmeta_to_htmlfile(styled_df, filename, head=''):
    """
    styled_df should be <class 'IPython.core.display.HTML'>
    """
    r = f'<h1>{head}</h1>\n' + '<body>\n' + styled_df.data + '\n</body>'
    with open(filename, 'w') as f:
        f.write(r)
    return f'{filename} saved'
