Make detailed output part of the verbose output.

By default the shell can be much quieter.
Add tests for clearing files.