loading a nonexistant file doesn't crash the program anymore