Filetype regex now only matches end of name