update for splitter to run through all the files in the working directory