Now can work on an entire folder, and now it will place the resulting files in the same directory as the input