Day 10 The code for reading and writing files to disk is pretty repetitive. Encapsulate this code in a resource.