No longer need to defer file.Close()