util/newfile.go
func NewFile(filename string) io.Writer {
	if err, _ := os.Open(filename); err != nil {
		os.Remove(filename)
	}

	file, _ := os.Create(filename)

	return file
}
func NewFile(filename string) io.Writer {
	if err, _ := os.Open(filename); err != nil {
		os.Remove(filename)
	}

	file, _ := os.Create(filename)

	return file
}
// NewFile is a convenience function which creates and opens a file