add save_mcafile to mca.py