Convert all text code into m code file