Take a look at the second example in the form I linked from Avoiding duplicate selection in repeat group - #22 by LN. You can use select_one_from_file
exactly the same way as the internal select shown there.
2 Likes