Added support for XML files