public override void OnCompleted()
            {
                base.OnCompleted();
                OutputStream outputStream = null;
                PrintStream  stream       = null;

                try
                {
                    outputStream = new FileOutputStream("../wiki/ImageDatabaseSummary.wiki", false);
                    stream       = new PrintStream(outputStream, false);
                    WriteOutput(stream);
                    stream.Flush();
                }
                catch (IOException e)
                {
                    Sharpen.Runtime.PrintStackTrace(e);
                }
                finally
                {
                    if (stream != null)
                    {
                        stream.Close();
                    }
                    if (outputStream != null)
                    {
                        try
                        {
                            outputStream.Close();
                        }
                        catch (IOException e)
                        {
                            Sharpen.Runtime.PrintStackTrace(e);
                        }
                    }
                }
            }