Read pdf file, add documents and images.