Added more options and documentation for XML files