Adding part of reading of the cfg file