Header is now skipped properly.
Added an error message when missing fields in headers and when name is missing
in an entry.