block read-write for file io
cleaning up and stuff - performance getting spanked by character encoding/decoding