Write GTEPS to file