herewith vs thereupon

herewith

adv
  • in this way, hereby 

  • by this means 

  • with this; especially, with this letter or communication 

thereupon

adv
  • Upon that; thereon. 

  • In consequence, or by reason, of that; therefore. 

  • Following that; forthwith; in sequence, but not necessarily in consequence. 

How often have the words herewith and thereupon occurred in a corpus of books? (source: Google Ngram Viewer )