Ensure that only pdfs (mime type and extension) are uploaded and stored