Asterisk ReadFile

Hello

I run a web service on incoming calls. I’m doing this with the bash script. What I want is to listen in on an announcement based on the contents of his file. Can I do this with ReadFile ?

FileA=1
FileB=0

Duplicated thread