fixed regex for pair filenames