from sys import argv
script , myfile=argv,argv
print "here bro" : #this is where you printed the memory
rfile=open(myfile) # rfile now = myfile open to reading
print rfile.read() # same as open(myfile).read()
print "*" * 5
print "type ur file again"
another=raw_input("^_^ ") #another = A raw input into the file
mfile=open(another) #mfile is new
print mfile.read() #this will now print the raw input
print rfile.read() #will print your old file again
I hope this helps, read the python manual it's well worded and easy to learn.