Add file pattern option

This replaces a hard-coded value.