AI can enhance law firms' processes