file-readline: defer file.Close()