Write a function that correctly parses the config file. The function should accept as a param a string with the filename. The function should then create a struct of type Config (with the necessary properties), open the file, and assign each config value to a Config property. Then it should return the Config.
Write a function that correctly parses the config file. The function should accept as a param a string with the filename. The function should then create a struct of type Config (with the necessary properties), open the file, and assign each config value to a Config property. Then it should return the Config.