modified and add SDcard cache reader