Added support to load from file. Couldn't fix one bug in allTrips.