Fixed contentsize and filetype. Size of header+content implemented