working on parsing config file