added minimal check for existence of config file