Document can be in PDF or image format.