add error if no file
update load_app to fix error