bugfix: fix files pattern
add support for file pattern