code: function(){
              if ( fs.existsSync(gnaFolder) ) {
                  if ( !fs.existsSync(gnaFolder +'/'+ file) ) {
                      createContent(gnaFolder +'/'+ file, gnaFolder, content, function(err){
                          setTimeout(function(){
                              callback(err)
                          }, 500)
                      })
                  } else { // already existing ... won't overwrite
                      callback(false)
                  }
  
              } else {
                  fs.mkdir(gnaFolder, 0777, function(err){
                      if (err) {
                          console.error(err.stack);
                          callback(err)
                      } else {
                          //Creating content.
                          createContent(gnaFolder+ '/' +file, gnaFolder, content, function(err){
                              setTimeout(function(){
                                  callback(err)
                              }, 500)
                          })
                      }
                  })
              }
  
          }
docs: Create path.