add check the existence of cfg file