Matching on filename regexp working