Simply I wanted to read the csv file that I converted from Data Frame after read the another csv file and same time I tried to remove header from in it.
Whatever the other folks described is probably correct.
In my particular case:
The text file i am trying to read is on a shared drive on my work laptop. Corporations sync the shared drive so that you don't loose your data. With me this sync was the issue. I manually synced the folder and then i was able to read the file.
If the file is not synced, i doubt if you can even open the file. I tried and it said "Permission Denied" as it shows in jupyter notebook.
Hope that helps.