add support for pagefromfile

Change-Id: I49c0392a141bf2738f3fe85a153bd03668c18533
Merge "add support for pagefromfile"