Add WALA Event Module

with open(filename+".tmp",'wb+') as hfile:
    hfile.write(self.ToXml().encode("utf-8"))