How do we download historical data?

i have the historical data that i got from ninjatrader brokerage. how can i merge them for barreplay?