receive and save to sdcard