Investigators say a train grinding on the tracks sparked the fire.