About 31,000 people were evacuated on Wednesday as the fire sent huge flames and plumes of smoke over a hilly terrain in the Castaic Lake area near Santa Clarita.