Fixed some problems with reading data from files. Adding XML metadata to make dbms more flexible.