Adds thread files to repository.