* sending files as attachments if a query matched a file inside the tree