files are shown based on query