   }
 }
 
+void checkCard(){
+  boolean flag = SD.exists("twitter.txt");
+  if(flag){
+    Serial.println("File exists");
+  }else{
+    Serial.println("File does not exist");
+  }
+}
+
 void read(){
-  File dataFile = SD.open("b_binary.txt");
+  File dataFile = SD.open("twitter.txt");
   if(!dataFile){
     Serial.println("Error on opening the file");
     return;

    return;
  }
  Serial.println("Card initialized");

  convertToByte();
  //write();
}

      bitCounter = 8;
      regCounter++;
    }
    //change number of regCounter when width is different
    if(regCounter == 2){
      regCounter = 0;
      lineCounter++;
    }
