seperate file for writing xml content