fix entities existing in content

-major problem was \n entity in body of message caused improper
formatting of  file parsing and threw exception