Print route data to file.