Populate choice parameter from data in a git


I have a git repository which contains a file data.txt
This text file contains few number of lines. Each line is one word containing some text

I have a Jenkins job and that job has a Active choices reactive parameter

When the job is run i.e. Build With Parameters option is chosen, I want to read contents from data.txt in my git repository and populate the choice parameter

Please explain how to achieve this ?

Thanks you in advance for your help