util.go
func fileSize(file string) int64 {
	f, e := os.Stat(file)
	if e != nil {
		return 0
	}

	return f.Size()
}
func fileSize(file string) int64 {
	f, e := os.Stat(file)
	if e != nil {
		return 0
	}

	return f.Size()
}
func fileSize ( file string ) int64 { f , e := os . Stat ( file ) if e != nil { return 0 } return f . Size ( ) }
// return length in bytes for regular files
return length in bytes for regular files