opens config file and reads in content