What are the core benefits of Infrastructure as Code, and how do you manage state files in Terraform?