add configurable maximum file size + fix no results message search tree in catalog