def extract_tarball(src, dest):
    """extract a .tar file"""
    import tarfile
    with tarfile.open(src) as bundle:
        namelist = []
        for m in bundle:
            bundle.extract(m, path=dest)
            namelist.append(m.name)
    return namelist
