Resolved one thing with lists. You can not add string in 10th line in file if in file there is no more than 10 lines already
Next bug is with lists path.
When you add File path to variable then zenno showing error that there is no such variable and therefore giving error