Max 10 files and hide the page range label if pdf is only 1 page.