First pass of specifying a preprocess function and passing files to it