Correction in regex filename matching