added (nearly functional) pipeline for writing out a file of the 20 oldest pages