adds "i" flag to file regex to allow case insensative filename matching

this allows files of MySweetTestFile.php or my_sweet_test_file.php when
scanning a dir