How to read in an Ascii Text file of 1's and 0's and Bit Bang an I/O Pin

I tried this and it gave an error.
digitalWrite(dataPin, char myFile.read());

I"ll keep on playing with it