Working on DdMdTrajectory reader and writer.