Something odd is going on here ... it /should/ be opening the files, closing the files, resizing the files to 10Mb, reopening the files but something is going wrong and it's only resizing half the files. Not sure yet if it's my code or Boost.Filesystem (probably my code).

Finished the torture test. It should be functionally complete now.

Added truncate() convenience function.