new commands that saves entities to xml file