The folate level is measured because vitamin B12 deficiency must be differentiated from folate deficiency as a cause of megaloblastic anemia; folate supplementation can mask vitamin B12 deficiency and may alleviate megaloblastic anemia but allow the neurologic deficits to progress or even accelerate.