Reverted back & handled IOError in case config file is in relative path