Render XML data into React Tables, I’m Getting Files From The FTP Server

I have thousands of files on the server, and each file contains unique item xml data. And I’m getting all the files using FTP.

What is the optimal way to get all files data and store them into combined JSON data on the node server and then render it into the React Table using route?