Tool to retrieve relevant data from a document