Papyrix tracks a file listing the filepath, title, & author of all the ebooks you've recently read using it. This is managed using a singleton class.
It has inlined methods for calculating how many entries can be displayed onscreen, adding entries to an array & removing them, truncating that array, (de)serializing the array to bytes, & (de)serializing the constituent strings.
Wrappers around those (de)serialization methods carefully opens a hidden file stroring those bytes on the SD card.
1/2
There's also a wrapper around that array-trimming method, & a helper for removing entries without a corresponding file present.
The primary add/remove methods loads the data if needed, prunes missing entries (for add), alters the array, & saves it. All using the previously described methods.
1.5/1.5 Fin for today! Tomorrow: Progress Manager!