Microsoft Interview Question

Implement a firewall based on reading the rules from files, and reading the packets from files