displays the content of a file