add error reporting and comment lines to dictionary file