Ok, this one should work. function to update DATCOM file created.