CSX crews worked through Wednesday night into Thursday morning after police said a tractor trailer was hit by a train on North Main Street around 8 p.m.