       }
     } else {  // we may start playing as it seems
       // now let's get the number of files in the album directory
-      const byte numberOfFiles = countFiles(SD.open(plrCurrentFolder));
+      const char numberOfFiles = countFiles(SD.open(plrCurrentFolder));
       
       // there is no file in the folder indicate this as a minor error
       if (numberOfFiles < 1) {



// iterates through al files in an album directory and calls playTrack for each track number iteratively
static char playAlbum(byte numberOfFiles) {
  boolean loopWarningMessageFileNotFound = true;// make sure   file not found               warning message is shown at least once
  
  #ifdef DEBUG


// battery control
#ifdef LOWBAT
  const byte lowBatPin      = A2;      // pin on which the Adafruit PowerBoost will indicate a low battery
                                       // this pin will usually be pulled high but when the charger detects 
                                       // a low voltage (under 3.2V) the pin will drop down to 0V (LOW)
  boolean lowBatWarn        = true;    // used to throttle low battery messages to every 5 minutes
#endif


