code: function (srcFiles, destPath) {
      // Iterate over all specified file groups.
      srcFiles.map(grunt.file.read).forEach(function (fileContent, i) {
          var abspath = srcFiles[i];
          var results = fileContent.match(applyminGlobal.beginminPattern_global);
          if (results) {
              var beginminInfo = {};
              for (var index in results) {
                  var result = results[index].match(applyminGlobal.beginminPattern);
                  var beginEndMinBlock = result[0];
                  var targetUrlPath = result[1];
                  var staticBlock = result[2];  // static block, maybe css/js
                  var targetFilePath = targetUrlPath.match(new RegExp(destPath + '/' + '\\S+\\.(css|js)', 'i'));
                  if (!targetFilePath) {
                      grunt.warn('In the file: ' + abspath + ', the target filename in ' + targetUrlPath + ' should start with ' + destPath + '/' + ' and end with .css or .js');
                  }
                  targetFilePath = targetFilePath[0];
                  _handleStaticBlock(abspath, targetFilePath, staticBlock);
                  if (targetFilePath in beginminInfo) {
                      grunt.warn('In the file: ' + abspath + ', the target filename ' + targetFilePath + ' should not be duplicated.');
                  }
                  beginminInfo[targetFilePath] = {targetUrlPath:targetUrlPath, beginEndMinBlock:beginEndMinBlock};
              }
              // Store results for the applymin later.
              applyminGlobal.beginminInfos[abspath] = beginminInfo;
          }
      });
    }
docs: srcFiles: contains all template path like views/home.tpl
  destPath: the destination path that will be used to store all the result files like 'static/assets'