9 Mar
2019
9 Mar
'19
6:12 p.m.
Mark, I got the reason of error, and realise how dumb the question was. Anyways, I have now made the necessary changes and the functionality is working now. Also, now I have understood why you say the KeyError 'file' could be due to different issues for all of us.
Thanks a lot for the clarification Nayan Khanna