added basic exception handling to check if the config file exists

Signed-off-by: hobblygobbly <hobblygobbly@gmail.com>