add filePageCount for accurate getFilePageNames