giving the content length when rendering a file