support for file patterns