Fix filename regexes