testing c++ idiomatic file contents