Fixed some things in the mfile module.