migrated serv_file.c to new config format