def METHOD_NAME(fn, **kwargs):
    """
    Save tabulated data and write column header strings.
    Example:
        savetbl('file.dat', time=time, strain=strain, energy=energy)
    Parameters
    ----------
    fn : str
        Name of file to write to.
    kwargs : dict
        Keyword argument pass data and column header names.
    """
    sorted_kwargs = sorted(kwargs.items(), key=lambda t: t[0])
    header = ''
    for i, (x, y) in enumerate(sorted_kwargs):
        header = '{0} {1}:{2}'.format(header, i + 1, x)
    data = np.transpose([y for x, y in sorted_kwargs])
    fmt = ['%s' if x.dtype.kind == 'U' else '%.18e' for x in data.T]
    np.savetxt(fn, data, header=header, fmt=fmt)