title: Attempt to open PDF with PDFPlumber results in FileNotFoundError
body: <p>I have python script that is called by VBA that loops through whatever folder the excel workbook is in and then returns the PDF in that folder (as there will only ever be one) and then is suppose to open it and return the text; However I get following Errors and I am not sure what I am doing wrong:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;C:\Users\Path...&quot;, line 16, in &lt;module&gt;
      with pdfplumber.open(pdf_file) as pdf:
    File &quot;C:\ProgramData\Anaconda3\lib\site-packages\pdfplumber\pdf.py&quot;, line 54, in open
      fp = open(path_or_fp, &quot;rb&quot;)
  FileNotFoundError: [Errno 2] No such file or directory: 'Company - Terms - Jan 01.pdf'
  </code></pre>
  <p>Code:</p>
  <pre><code>&quot;&quot;&quot;Declare Variables&quot;&quot;&quot;
  FILE_PATH = 'C:/Users/Path...'
  dir_list = os.listdir(FILE_PATH)
  pdf_file = ''
  
  'Find the PDF in the folder'
  for file in dir_list:
      file_type = file[file.find('.'):len(file)]
      if file_type == '.pdf':
          pdf_file = file
          with pdfplumber.open(pdf_file) as pdf:
              page = pdf.pages[0]
              text = page.extract_text()
          continue
  
  print(text)
  </code></pre>