How do I get a replay file on my test connector?

I have set up a test connector on my connector appliance and a matching receiver on my logger. I have also exported some events from ESM to a csv file. I now want to turn that csv file into a replay file and have the test connector use it to send test events to my logger. How can I accomplish this?