old_contents: # LPTHW Exercise 15 -- Reading Files
  
  from sys import argv
  
  script, filename = argv
  
  txt = open(filename)
  
  print "Here's your file %r:" % filename
  print txt.read()
  
  print "Type the filename again:"
  file_again = raw_input("> ")
  
  txt_again = open(file_again)
  
  print txt_again.read()
new_contents: # LPTHW Exercise 15 -- Reading Files
  
  from sys import argv
  
  script, filename = argv
  
  txt = open(filename)
  
  print "Here's your file %r:" % filename
  print txt.next()
  print txt.next()
  print txt.next()
  #print txt.read()
  txt.close()
  
  print "Type the filename again:"
  file_again = raw_input("> ")
  
  txt_again = open(file_again)
  
  print txt_again.read()
  
  txt_again.close()
subject: complete exercise 15