trying to load without a valid file leads to a crash

trying to load without a valid file leads to a crash