Add pem file uploading