How to Use a Thread File for Thread Repair