Exception handling on file load.