prints the contents of the file not the pointer