MsgFileType class fixed