Code and data for http://www.mollietaylor.com/2013/09/perform-function-on-each-file-in-r.html