Change topic dynamically

Hello Node-Red Community. I have a question for all of you. I have created a node red flow, where I am reading the data from a Modbus Server and storing the values in my Influxdb Database. In the Picture below, you will see the whole Idea.

Now, in order to store all these values in the database, i need to assign a topic in my Modbus-Read Node. In the picture below, you can see the idea.

Now I am planning to add a csv file or an xml file, which will already have the topic names pre defined. Is there any way, that I can change the topic with the data from the csv or xml file?