You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: hidden.go
    path of file: ./repos/arozos/src/mod/filesystem/hidden
    
    the code of the file until where you have to start completion: package hidden

import (
	"path/filepath"
	"strings"
)

/*
	Arozos hidden module
	author: tobychui

	No, the name didn't mean you can't find this module
	Yes, this is actually a module that use to hide files

*/

//Hide a given folder
func HideFile(folderpath string) error {
	return hide(folderpath)
}

//Check if a given file is hidd
    
func IsHidden(filename string, recursive bool) (bool, error) {
	if recursive {
		filename = filepath.ToSlash(filename)
		chunks := strings.Split(filename, "/")
		for _, chunk := range chunks {
			if strings.TrimSpace(chunk) == "" {
				//Empty chunk. Skip this
				continue
			}
			hiddenState, _ := isHidden(strings.TrimSpace(chunk))
			if hiddenState {
				return true, nil
			}
		}
		return false, nil
	} else {
		return isHidden(filename)
	}

}