display nice error message if file load fails