Fixed so that trajectory files should work with EP and KP