code: async function optimize(file) {
      check(file);
      
      const name = getName(file);
      
      log('reading file ' + path.basename(name));
      
      const data = await readFile(name, 'utf8');
      return onDataRead(file, data);
  }
docs: function minificate js,css and html files
  
  @param files     -   js, css or html file path