Update MinFilter for a dynamic file extension detection.

Add a .less file compatibility and json too.