Update configfile.cpp

Fix of a mistake, making it impossible to use config file in current dir.