docs: function renameLinks (files)
  {
    if (originalFiles.length <= 0)
    {
      if (debug)
        console.log("No links to rename.");
      return;
    }
  
    files.forEach(function (file)
    {
      // Read the file
      data = fs.readFileSync(file, 'ascii');
  
      // Find/replace the file names that were renamed
      for (var i = 0; i < originalFiles.length; i++)
      {
        var findString = '/' + originalFiles[i] + '\"';
        var replaceString = '/' + renamedFiles[i] + '\"';
  
        data = data.replace(findString, replaceString);
      }
  
      // Write back
      fs.writeFile(file, data, 'ascii', function (err) {
        if (err)
          throw err;
      });
  
      if (debug)
        console.log('Renamed links in: %s', file);
    });
  }