title: Import and rbind multiple csv files with common name in R
body: <p>I have multiple CSV files with 4 common character in their names.
  I want to know how I can rbind the files with the same common character. For example, "AM-25" is common in name of 3 csv files and "BA-35" in the name of another 2.</p>
  
  <p>The files are like this
  AM-25.myfiles.2000.csv, AM-25.myfiles.2001.csv ,AM-25.myfiles.2002.csv,BA-35.myfiles.2000.csv,
  BA-35.myfiles.2001.csv,
  I use this to read in all the files:</p>
  
  <pre><code>files &lt;- list.files(path=".", pattern="xyz+.csv", all.files = FALSE,full.names=TRUE )
  </code></pre>