Fixing broken regex on filenames.