Run a program that read text file

I put them in the same folder. The folder (called macros ) in which i put programs in order to run them but it seems it doesnt see the txt, if we delete the if root tells me that it has read 0 data instead of 14.
I dont know probably this problem is linked with