Atmega Hex Uploader SD Card Connection

Hello All,

I want to use Mr Nick Gammon's Atmega_Hex_Uploader_Fixed_Filename to allow Hex file download to a ATMEGA2560. In his documentation, the SD card reader is connected to the external (programmer) Arduino. I'll want to have an SD card connected to the ATMEGA2560 (target) anyway, for use by the program being downloaded to it. Is it possible to use or adapt the above software or connections so that the SD card is available to use by the target ATMEGA2560?

This would be a modification to an existing project on the ATMEGA2560 which uses SD over the SPI.

Many thanks.