Moved read of pageData to own package