disallowed pdfs to be uploaded and allowed bmps