Looping an addition of column with part of a file name

Hi, have a look at Reading and combining many tidy data files in R | Claus O. Wilke (clauswilke.com) and Gerke Lab | Import a Directory of CSV Files at Once Using {purrr} and {readr}