extract the content from pdf files and show them in the views