Code for printing the file