Adds extracting of example text from overall files.
Fixes small bugs.