title: PermissionError: [Errno 13] Permission denied in python jupyter notebook
body: <p>I am trying to construct filename and its path, and then reading that file but it is giving this error.</p>
  
  <pre><code>import os
  import pandas as pd
  all_text_samples = []
  # file_list contains names of all files in "clean_data" folder
  file_list = os.listdir("clean_data/")
  
  for file_name in file_list:
  # Construct filename and its path
  file = (f"clean_data/" + file_name)
  
  # Now open file for reading
  my_text_file = open(file, encoding="utf8")
  file_data = my_text_file.read()
  
  # Append the data to the list
  all_text_samples.append(file_data)
  
  # Convert list to dataframe
  text_dataframe = pd.DataFrame(all_text_samples)
  text_dataframe.columns = ["Text"]
  </code></pre>
  
  <p>It is giving the following error:</p>
  
  <pre><code>PermissionError                           Traceback (most recent call last)
  &lt;ipython-input-4-8e06886c8a51&gt; in &lt;module&gt;
        4 
        5     # Now open file for reading
  ----&gt; 6     my_text_file = open(file, encoding="utf8")
        7     file_data = my_text_file.read()
        8 
  
  PermissionError: [Errno 13] Permission denied: 'clean_data/clean_data'
  </code></pre>