use ioutil.ReadAll instead of Scanner