Hi Thanks for your suggestion. But what i need is the program while reading the config file doesn't +take the lines that is started with hash and i can store the elements