Make thread files.