“Heretofore” is one word.
See, I knew that, but seem to be bound by modern English, for what it’s worth.