## Problem The program hangs if you attempt to parse a binary file that does not exist. ## Solution Line 611: `if (!file.is_open()) { throw std::invalid_argument("the file you provided does not exist"); }` needs repeated after line 657 > [!caution] > Worth mentioning `text` or `binary` in these error messages, so you know what the code thinks it's looking for. <img width="1135" alt="image" src="https://github.com/user-attachments/assets/a9e2e842-a261-4622-b704-ae5911b458cc">