A python script that iterates through all of the files in a given directory and runs the previous preproc() function on  them.