Added closing title tag in bar.html, reads and returns file contents with type set