for i,v in enumerate(filename_list,[start=0]) https://www.runoob.com/python/python-func-enumerate.html