The railways during the war in 1864