fixed wildcard support for files