CAY-1943 XML file not deleted when a DataMap is deleted from the project

* parts of pull request #13