Write on config file