Use pattern for file pattern