Allow only pdfs to be displayed in browser