Use SD card to automatically flash a sketch to a MEGA2560

Well this works perfect. Problem solved.