code: function stripFileProtocol (url) {
    var isFileUrl = url.substr(0, 7).toLowerCase() === 'file://';
  
    if (isFileUrl) {
      // Strip-off the protocol, and the initial "/", if there is one
      url = url[7] === '/' ? url.substr(8) : url.substr(7);
  
      if (isWindows) {
        // Insert a colon (":") after the drive letter, if necessary
        if (url[1] === '/') {
          url = url[0] + ':' + url.substr(1);
        }
      }
      else {
        // It's a Posix path, so start at root
        url = '/' + url;
      }
    }
  
    return url;
  }
docs: Removes the "file://" protocol from the given URL,
  resulting in an absolute filesystem path
  
  @param {string} url
  @returns {string}