split thread related files