world 2
reading from file
fixed bug
fixed bug writing buffer instead of string