add xml extension and remove old file