   aJson.print(msg, &stringStream);
   String sTempString((char *)buf);
   
-  // Write the state
-  Serial.print("Board State:");  
-  Serial.println(sTempString);
-
+  //// Write the state ///
+//  Serial.print("Board State:");  
+//  Serial.println(sTempString);
+  //////
+  
   if( msg )
   {
     // Open the system file

unsigned long last_print = 0;
int g_iCatNumber = 0;
int g_iChangeSsid = 1;
int g_iWriteToFile = 1;
int g_iSkipFirstWrite = 0;

void loop()

// TESTING
  getSerialCommand(); 
  
  if (millis() - last_print > 1000)
  {
    if(g_iWriteToFile)
    {
       writeBoardStateToFile(BOARD_CONFIG_FILE_FULL_PATH);
    }
    else
    {
       initBoardStateFromFile(BOARD_CONFIG_FILE_FULL_PATH);
       g_iWriteToFile=1;
    }
    
          

    
    // Flush serial buffer to prevent crashes
    //Serial.flush();  
    
    /*
    // Save board state every ~1 sec
    if(g_iSkipFirstWrite)
