replaced readBytes by read in SD example