The mbg file is a header file generated automaticaly by bmconv, when /h switch is used. In example:
bmconv /hInfoDialogs.mbg InfoDialogs.mbm clockface.bmp
line generate both the Epoc multi bitmap file and this header from the windows bitmap format.
Note, if path or epocroot environmental variable not correcly set, this gives bad command or filename error.