code: func GetFileModTime(path string) int64 {
  	path = strings.Replace(path, "\\", "/", -1)
  	f, err := os.Open(path)
  	if err != nil {
  		beeLogger.Log.Errorf("Failed to open file on '%s': %s", path, err)
  		return time.Now().Unix()
  	}
  	defer f.Close()
  
  	fi, err := f.Stat()
  	if err != nil {
  		beeLogger.Log.Errorf("Failed to get file stats: %s", err)
  		return time.Now().Unix()
  	}
  
  	return fi.ModTime().Unix()
  }
docs: // GetFileModTime returns unix timestamp of `os.File.ModTime` for the given path.