code: func (fsh *Handler) CreateFile(file string) error {
  	path, _ := filepath.Split(file)
  	// Create path at first if necessary
  	if path != "" {
  		if err := os.MkdirAll(path, os.ModePerm); err != nil {
  			return errors.Errorf("failed to create path for file %s: %v", file, err)
  		}
  	}
  	sf, err := os.Create(file)
  	if err != nil {
  		return errors.Errorf("failed to create file %s: %v", file, err)
  	}
  	return sf.Close()
  }
docs: // CreateFile is an implementation of the file system API interface