Is there a convenient/shorthand way to iterate through a for loop on an array, getting both value and index?
Basic options:
i = 1
for file in ["foo.csv", "bar.csv"]
...
i += 1
end
files = ["foo.csv", "bar.csv"]
for i in 1:length(files)
files[i]
end