The old - read from an SD card question

First in your line

if (hash1==35) {data1=(myFile.read());Serial.print(char(data1));data2=(myFile.read());Serial.print(char(data2));} //If a hash is found, get the line number of the data

When Hash is found, you are not reading line numbers, your are simply reading the next 2 characters following the hash.

If you have some confusion concerning the numbers of the characters, you can refer to: