fixed toString call from buffer
reading file using string literal