Added fs include
Added buffer to string decoding
fixed