@xiangli-cmu The reading and writing of the conf file should live in isolation from the server:

```go
func (c *Config) writeFile(filename string)
func (c *Config) readFile(filename string)
```