Is this the only place `FileNotFoundException` is thrown? If so, it would be cleaner to move the error logic inline.