Reading line into buffer and store the parsing result directly into a struct.
File format at the moment :
name=XXXX
email=XXX