title: Write a program that asks the user for the name of file of addresses and a name of an output file
body: <p>Your program should replace all occurrences of "NY" with "New York," all occurrences of "NJ" with "New Jersey </p>
  
  <p>For example, if your file <code>replace.txt</code> contains:</p>
  
  <pre><code>from wikipedia:
  NY-NJ-CT Tri-State Area
  The NY metropolitan area includes the most populous city in the US
  (NY City); counties comprising Long Island and the Mid- and Lower Hudson 
  Valley in the state of New York.
  </code></pre>
  
  <p>The output has to be:</p>
  
  <pre><code>from wikipedia:
  New York-New Jersey-CT Tri-State Area
  The New York metropolitan area includes the most populous city in the United 
  States (New York City); counties comprising Long Island and the Mid- and 
  Lower Hudson Valley in the state of New York.
  </code></pre>
  
  <p>I tried my best and here is my program.</p>
  
  <pre><code>filename = input("Please enter a file name: ")
  openfile = open(filename, "r")
  readfile = openfile.read()
  
  
  for i in readfile:
      for string in i.replace("NY", "New York"):
          Replace = string.replace("NJ", "New Jersey")
  
  print(Replace)
  </code></pre>
  
  <p>The problem is that it is not printing out anything.
  PLEASE HELP!</p>