Added exception handling for Load method