Reading materials from xml
Need for testing