My files (example as I have hundreds of these files):

```
France.csv
France_variables.csv
Germany.csv
Germany_variables.csv
Spain.csv
Spain_variables.csv
Portugal.csv
Portugal_variables.csv

```

I want to merge France with France\_variables, Germany with Germany\_variables etc. I know I can use rbind with the two files but I want to do this as a loop because I have lots of these to merge. I'm not sure how to do a string search and then rbind in a loop or if there is a better way of doing this. 

I am new to R so any help would be much appreciated.