removed writeToFile from XMLReader(it was accidentaly put there)

Signed-off-by: aurel <aurel.savoiu@cti.pub.ro>