code: function(file, list) {
          console.debug('replacing: ', file);
          try {
              var f;
              f =(f=file.split(/\//))[f.length-1];
              var isJS = /\.js/.test(f.substring(f.length-3));
              var isJSON = /\.js/.test(f.substring(f.length-5));
  
              if ( isJS || isJSON && /config\/app\.json/.test(file) ) {
                  var contentFile = fs.readFileSync(file, 'utf8').toString();
                  //var contentFile = require(file).toSource();
                  var dic = {
                      "Bundle" : self.bundle.substring(0, 1).toUpperCase() + self.bundle.substring(1),
                      "bundle" : self.bundle
                  };
  
                  contentFile = whisper(dic, contentFile);//data
                  //rewrite file
                  fs.writeFileSync(file, contentFile)
              }
  
              if ( list != undefined && list.indexOf(file) > -1 ) { //end of current dir
                  list.splice( list.indexOf(file), 1 )
              }
              return list
  
          } catch(err) {
              console.error(err.stack);
              process.exit(1)
          }
      }
docs: Parse file and modify only javascripts - *.js
  
  @param {string} file - File to parse
  @param {}