Clean config file