I could, but there's no equivalent comment in the other file, it just did a "does directory exist" (and all logic inside the condition) [with this change it checks for the file it's about to read].

I'd be tempted to change the other file to do an early return for file not exist...