print all contents in the file