Move more logic into Utils::ReadString.