How to add epg to channels

Hi i have a m3u list but i want to add epg to them. the problem is that i have epg links for all channels but the channels im trying to add the epg have the own epg xml for every channel like this:
channel1 >channel1.xml
channel2>channel2.xml
how to add the epg to my list?