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