code: function getTasksFromYakefile(cwd, fileOption)
  {
      // find the yakefile and load (actually a dynamic 'require') tasks
      // first create an empty collection - dont need to use the global collection
      const tc1 = TC.TaskCollection();
      //preload 
      const tc2 = TASKS.loadPreloadedTasks(tc1);
  
      const yakefileCandidates = Yakefile.defaultFilenames();
      if( fileOption !== undefined )
          yakefileCandidates = [fileOption];
  
      const yakeFilePath = Yakefile.recursiveFindFile(cwd, yakefileCandidates);
  
      if (yakeFilePath === undefined)
      {
          const msg = yakefileCandidates.join();
  
          // console.log(util.inspect(yakefileCandidates));
          ERROR.raiseError(`cannot find yakefile among : ${msg}`);
      }
      const collection = TASKS.requireTasks(yakeFilePath, tc2);
      return collection;
  }
docs: Collects tasks from the appropriate yakefile.
  
  @param      {string}  cwd         The directory from which to start searching for a yakefile
  @param      {string|undefined}    fileOption  The value of the -c or --file option from the command line
  @return     {TaskCollection}      The tasks from yakefile.