gaxml closes files after generating them.