code: function relativePath(file, pattern) {
      var length = file.length,
          x;
  
      pattern = path.normalize(pattern);
      file = path.normalize(file);
  
      for (x = 0; x < length; x += 1) {
          if (file[x] !== pattern[x]) {
              return file.substr(x);
          }
      }
  
      return path.basename(file);
  }
docs: Gets the relative path of a file relative to the pattern.
  For instance:
  file = /a/b.js
  pattern = /a/*
  
  Should return b.js
  
  @param {String} file    The file
  @param {String} pattern The pattern
  
  @return {String} The relative path