I have two lists, one with the excel file paths that I would like to read and another list with the file names that I would like to assign to each as a dataframe. Trying to create a loop using the below code but the loop only creates a single dataframe with name n. Any idea how to make this work?

```
 files <- c("file1.xlsx","file2.xlsx")
 names <- c('name1','name2')

 for (f in files) {
 for (n in names)   {
 n <- read_excel(path = f)
  }
 }

```