added parsing configfile