Now writes all know traces to the file on disposal.