handle gpx file stuff