gen file ED type