Class that saves list with entities into xml file.