added logic to find config file in user home folder