using regex to match data files