Fix relative path to mainConfigFile