docs: function transform(file, nameTransformer, hasher) {
  
      //Save original path and base
      file.revisionOldPath = file.path;
      file.revisionOldBase = file.base;
  
      //Generate a hash
      file.revisionHash = hasher(file);
  
      if (typeof file.revisionHash !== 'string') {
          throw 'Hasher didn\'t return a string.';
      }
  
      //Transform the filename
      var filename = nameTransformer(file, file.revisionHash);
  
      if (typeof filename !== 'string') {
          throw 'Name transformer didn\'t return a string.';
      }
  
      //Set the new path
      file.path = path.join(path.dirname(file.path), filename);
  
  }