Move the UR such that it follows the end effector trajectory files

I have a particular trajectory for the end-effector which I want my UR simulation to move on. How do I make my simulation UR to move such that the end-effector moves on that in compliance with that trajectory file(excel)? I am using the last joint as the end-effector as it is desirable and effectively appropriate enough for my project. I am asking this question in the context of moveit_config package of the UR :