use ConfigParser to handle file config