Keep only the pages you list, in that order.
We change the file in memory and send it straight back. Nothing is kept.