fix path on file wildcard