def METHOD_NAME(output_path, files):
    if output_path.startswith("file://"):
        output_path = output_path[7:]
    model_file = os.path.join(output_path, "model.tar.gz")
    with tarfile.open(model_file) as tar:
        for f in files:
            tar.getmember(f)