I am unable to modify given code on https://gist.github.com/jrivero/1085501/a2401c345e8abb46f3623e08afbe36e59923f94e#file-csv_splitter-py-L13 to use it in a loop for splitti