Ukraine and France have signed a memorandum stipulating that France will help rebuild Ukraine's railway system, ruined by the ongoing war.