Added pdf support for uploading contracts