a federal rescue plan to assist european nations on both sides of the war in rebuilding damaged industry and infrastructure in the wake of world war II , and a secondary goal ; to help prevent the growth of communist influence in the war-ravaged areas .