Read the document in pdf