Partial fix for issue #3.
The page number is added as attribute to PdfFile.