SD card read function added