def zipper(root_dir="", name="", path_name_ext=""):
    """
    Zips up directory back to the original location
    :param str root_dir: Root directory of the archive
    :param str name: <datasetname>.lpd
    :param str path_name_ext: /path/to/filename.lpd
    """
    logger_zips.info("re_zip: name: {}, dir_tmp: {}".format(path_name_ext, root_dir))
    # creates a zip archive in current directory. "somefile.lpd.zip"
    shutil.make_archive(path_name_ext, format='zip', root_dir=root_dir, base_dir=name)
    # drop the .zip extension. only keep .lpd
    os.rename("{}.zip".format(path_name_ext), path_name_ext)
    return