I doubt that. You make be using pulseIn to detect the pulse, but you aren't using it to count the pulses.
You're right, sorry for my puzzling post, im going to use Pulsein to detect the pulse and then use the text document to count the pulses.
Why would you want to open a file and see that there was a varying number of ones in it? Wouldn't it be better to open the file and see something like 27 in it, rather than 111111111111111111111111111?
Whatever is easier, i was planning to create a program to read the text file and count the 1's.