Fix regex match for inspecfile

* More generic match for file type extension