I can't print the content of a file
<p>I have this code:</p>

<pre><code># -*- coding: utf-8 -*-
import random
import os, glob

guessesTaken = 0

print('Hello! What is your name?')
name = raw_input()
number = random.randint(1, 20)
print('Well, ' + name + ', I am thinking of a number between 1 and 20.')

while guessesTaken &lt; 6:
    print('Take a guess.') 
    guess = raw_input()
    guess = int(guess)

    guessesTaken = guessesTaken + 1

    if guess &lt; number:
        print('Your guess is too low.')

    if guess &gt; number:
        print('Your guess is too high.')

    if guess == number:
        break

if guess == number:
    guessesTaken = str(guessesTaken)
    print('Good job, ' + name + '! You guessed my number in ' + guessesTaken + ' guesses!')

xa=len(name)
#has= str(name) + '    ' + str(guessesTaken) + 


f='toplevel.data'
with open("f", "a") as myfile:
    myfile.write('name')
    myfile.write(': ')
    myfile.write(name)
    myfile.write('          ')


    if len(name)&gt;7:
        myfile.write((xa-7)*' ')
    elif len(name)==7:
        myfile.write(40*' ')
    else:
        myfile.write((7-xa)*' ')
    myfile.write('score')
    myfile.write(': ')
    myfile.write(guessesTaken)
</code></pre>

<p>I have the next problem,  I want at the end of this code to print toplevel.data with what it is in and I don't to do this.<br>
Thank you for help.<br/>
      <code>#('gfdsgdgdfgdfgdfgdfgdfgsdgdfgdfgdfgdfgdfgfdgdfgdsfgfdgdfgdfgdfgdfgdfgdfgdfgdf')</code></p>
