Update regex for filetypes