Sort out error handling on opening a level file