wrote SCMP file