fixed text files to display it in the browser instead of downloading it