C file for reading the config.txt and assign the parameters