add sdcard read func