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