A contractor has allegedly threatened a railway engineer publicly for not complying with his wishes of using poor materials in a road construction project in Kurigram.