Simple config file reader and writer