Your help in translating MegaGlest is much appreciated.
filename = config.getStr("UserDir");filename += "log.txt";