Properly escaped file regex to fix #4