public DumpingConnection(IConnection innerConnection, string outputDirectory)
                : base(innerConnection)
            {
                string basePath = Path.Combine(outputDirectory, ModuleName.GetThisModuleName());

                for (int index = 0; ; index++)
                {
                    string inFilePath = basePath + "." + index.ToString() + ".in.mf";
                    if (File.Exists(inFilePath))
                    {
                        continue;
                    }
                    string outFilePath = basePath + "." + index.ToString() + ".out.mf";
                    if (File.Exists(outFilePath))
                    {
                        continue;
                    }

                    outputStream = File.Create(outFilePath);
                    inputStream  = File.Create(inFilePath);
                    break;
                }
            }