Added exception handling for property file loading