From Discovery to Trial: How Litigation Records Shape the Legal Process