The former president had long sought to keep his records from being seen by the public.