Fixed foutnd file check in load method.