modified index to display only files with ext listed in settings.