write data to MEF file