Bt 3578 implement file storage of content

 - Fixed bad coding
 - Fixed sonar