How to use text in DAT control button?

I used filein to import a txt file, in which 0 and 1 will appear randomly according to my python program. I want to use it to control the buttons in touch designer.
For example, when the txt is 1, the button is pressed, and when it is 0, the button is pressed.
What should I do? Thank you for your help :wink: