title: FileNotFoundError: [Errno 2] No such file or directory: 'classA' in python, although the file has already been made
body: <pre><code>sav = []
  def fileKeep(sav):
      classA = open("classA", "r")
      for line in classA:
          sav.append(line.split())
      file.close()
      return
  fileKeep(sav)
  </code></pre>
  
  <p>This is the end of my code. I get a File Not Found error that I do not get anywhere else, even though I have used the file nearer to the beginning of the code as well. Any assistance is welcome, thanks.</p>