 
 // trackDb on the SD card - this is where we store the NFC TAG <-> Directory connection and the track to start playback with
 #ifdef NFCTRACKDB
-  const char trackDbDir[]   = "/trackdb0";               // where do we store the files for each album 
-  const char trackDbFile[]  = "/trackdb0/albumnfc.txt";  // path to the file that holds the connection between an NFC tag UID and the corresponding directory / file name
-  char tDirFile[sizeof(trackDbFile)];                      // a char array to hold the path to the file with track and directory infos (name is shared with directory name plus .txt
-  char trackDbEntry[35];                                   // will hold a nfc <-> album info connection in the form of [NFC Tag UID]:[album]:[Track] e.g.: 43322634231761291:larsrent:1
+  const char trackDbDir[]   = "/trackdb0";     // where do we store the files for each album 
+  #ifdef ALBUMNFC
+    // a special file that additionally holds the connection between an NFC tag UID and the corresponding directory
+    const char albumNfcFile[]  = "/trackdb0/albumnfc.tdb";  
+  #endif
+  char trackDbFile[23];                      // holds the path to the file with track and directory infos - name is shared with directory name plus .txt
+  char trackDbEntry[35];                  // will hold a nfc <-> album info connection in the form of [NFC Tag UID]:[album]:[Track] e.g.: 43322634231761291:larsrent:1
   
   // NFC Tag data
   byte uid[] = { 0, 0, 0, 0, 0, 0, 0 };    // Buffer to store the returned UID

      
      #define NFCTRACKDB   enables the use of the TrackDB to get the directiry for a tag

      #define RESUMELAST   enables the option to resume last played album upon startup.
                           This is achieved via a file in the TrackDB and works without 
                           a tag but uses the pause/resume button instead 

// to use the Adafruit NFC library to get the Tag UID and retrieve the directory from the trackDb 
// uncomment the following line. 
#define NFCTRACKDB 1

// uncomment to enable a special file albumnfc.tdb in which all album <-> nfc
// connections are stored - additional to the TrackDb files
//define ALBUMNFC 1

// uncomment the next line to enable resuming the last played album on switch on
// this is achieved via a special file on the SD card and works without a tag but uses the pause/resume button instead
