title: PyPDF's PdfFileReader() having problems reading file, file not callable
body: <p>So here is my import:</p>
  
  <pre><code>from pyPdf import PdfFileWriter, PdfFileReader
  </code></pre>
  
  <p>Here is were I write my pdf:</p>
  
  <pre><code>filenamer = filename + '.pdf'
  pdf = PdfPages(filenamer)
  </code></pre>
  
  <p>(great naming convention, I know!)</p>
  
  <p>I write some things to it.</p>
  
  <p>I close it here:</p>
  
  <pre><code>pdf.close()
  </code></pre>
  
  <p>Here is where I try and read it:</p>
  
  <pre><code>input1 = PdfFileReader(file(filenamer, "rb"))
  </code></pre>
  
  <p>And here is the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "./datamine.py", line 405, in &lt;module&gt;
      input1 = PdfFileReader(file(filenamer, "rb"))
  TypeError: 'file' object is not callable
  </code></pre>
  
  <p>I dont understand the error, because I know the file exists, and when I comment out this line, and subsequent lines to input1, the program runs fine.</p>