getNotesDirData: function(cb) {
      fs.readdir(api.getNotesDirPath(), function(err, noteFilenames) {
        if (!err) {
          cb(noteFilenames);
        } else {