formatting conf file