Doctors suspected man had brain cancer. He actually had worms.