How to use data from a text file to select media in an automation

have you seen my pet project?

Everything is described here with blueprint code