ACTECQ-27: added checks to select only PDF files