The file name generator is just able to create a file name. This generator is then converted into a generator of FILE ptr, which is exactly what we need for testing the unlocking of FILE ptr. Given a class used as an output stream, tests the algorithm 'transform' with various types of outbuf buffers.