Added blob2R function