Aded file buffer write to string