Added read file with ring buffer to read large files in chunks. Added encoding of read data with ring buffer to encode large files in chunks. Fixed issue with invalid utf-8 signs.