chang egm file