Where is this file going to be stored? If you have an SD module/shield, then it's relatively straighforward.