replaced config file name generation

fixed bug #25