Confirm file_regex use and add 'g' regex switch.