Tweaked the filename regex to allow any length extension (>2) 

Previous limit of 2-4 chars for file extensions excluded ones like .appcache