Generate printable files with filename equivalent to generated markdown.
Remove debug output and limit how much deeper we indent.

Level 9 is the most markdown can handle.
Minor refactoring.

Move initialization of the log file into the qa namespace.
Write log file into markdown directory.

output_directory does not exist yet. Work in progress...