Catch errors reading XML file
Catch errors reading log file