Having this code it is possible to read multiple csv from a file path
setwd("C:/Users/Nathalie/mycsvs")
files <- list.files(path = "C:/Users/Nathalie/mycsvs",pattern = ".csv")
temp <- lapply(files, fread, sep=",")
How is it possible to add a column to the dataframe which will have the file name each row came from?