def METHOD_NAME(archive_path, output_dir):
    print('Untarring {} in {}.'.format(archive_path, output_dir))
    tar_file = tarfile.open(archive_path, 'r:gz')
    try:
        tar_file.extractall(output_dir)
    finally:
        tar_file.close()