fix load file
Add enconding of xml files