able to sort files into steps, printing them to files in a folder named after the step. Need to clean up the code a little.