How to Compare data between two CSV files and pass value in header

Hi Gatling Team, help please

How to Compare data between two CSV files and pass value in header

I have 2 CSV files.
Scenario 1: From first csv file i want to take "uid" and from Second file i want to take "UserId" and compare between “uid” and “UserId” if this matches it should take token ID and pass in headers

uid,emailId,fileName,refId,uploadedAt,code,number
tvgv123434,[Gatling@yopmail.com](mailto:Gatling@yopmail.com),UAE_EMIRATES_ID_FRONT,e8f645c6-23e93cca1c0,0,971,553355923

You should preprocess your csv files.
A feeder is not meant to analyse or query inside the data. This is not a database!

As said first list, preprocess your csv files to have a line by virtual user.
Or you may have your own mean to query your data.
Sample, load your userinfo into a global map where the userId is the key.

But the preferred way will be a simple CSV with all information for one use in one line.