mfs write.c