// See if the file exists, but throw an error when there are perm problems.
See if the file exists, but throw an error when there are perm problems.
// See if the file exists but throw an error when there are perm problems .
func FileExists(filepath string) bool {
	_, err := os.Stat(filepath)
	if os.IsNotExist(err) {
		return false
	} else if err != nil {
		log.Fatal("Reaching File", err)
	}
	return true
}
func FileExists ( filepath string ) bool { _ , err := os . Stat ( filepath ) if os . IsNotExist ( err ) { return false } else if err != nil { log . Fatal ( " " , err ) } return true }
See if the file exists, but throw an error when there are perm problems.
See if the file exists but throw an error when there are perm problems .
// Dela with the file