release or close xml file after reading contents

release or close xml file after reading contents

It seems that when  I read an xml file with a function in ajax() that the xml file is not released after the read. I need to be able to let a server-side script delete the xml file when my read script is executed so a new xml file can be generated.   How do I make this happen? Thanks