split into gpx_file and gpx_track
changed to reflect actual code