configVariablesGet function

Read a configuration file and store the variables