Combine trajectory and trajectory_uv file.