write file to SD