Since it turns out all the whitelisting so far is on paths, maybe filepath.Glob() is more appropriate than regexp.
Since it turns out all the whitelisting so far is on paths, maybe filepath.Glob() is more appropriate than regexp.