Add loading resources from file