Added exception handling with the initial file loads