'Utility method to list all the paths in the jar.'

def list_paths(self):

    paths = []
    for cookie in iter(self):
        if (cookie.path not in paths):
            paths.append(cookie.path)
    return paths
