Fixed the program not erroring on failed loads of files