def savefile(filename, names, data):
    """Save the file using tabfileio"""
    try:
        import tabfileio
    except ImportError:
        raise ValueError(
            'external tabfileio package required to load file type')
    tabfileio.write_file(filename, names, data)
