added support for reading from file through PagedSeq