file: read whole buffer at once
test diff encoding on syncser