Trip data is now written to file when finished