Added reading from a config file (config.txt) from the main directory