Fill in code for parse_config which reads configuration out of a file.