extract departures into a separate file