Added XML config file reading.