I fixed the file but it's missing the data from the 2nd half of the ride.
I'm attaching the fixed file.
To recover more of the ride you could try saving it as a Course (on the Edge). See the following thread for more information: https://forums.garmin.com/showthread.php?t=2285
Did you hit the Start/Stop button at the end of the ride and then hold down the Lap button for the 3-2-1 countdown. This will ensure the tcx file is written out at the end of the ride. You could try doing that now and see if recovers the rest of the tcx file.