Now one can store a trajectory into a different file