Makes everybody's life happier

Instead of single file name, just check for the whole extension ok.