Revert "fix XML file not deleted when a DataMap is deleted from the project:"

This reverts commit 9c01b2ebc2a1c3b1428f8dbc3ee0ca2490b54278.