Added Folder-Support

I had the problem that I needed to add a complete folder instead of multiple files to the test. So I updated your code and added the functionality. I also added a test.