fix crash if storage files could not be opened. TODO give a fitting error message