Inital CTAEMS file generation