create default config file and read configuration from this file