get filename as command line argument and save output based on that
Pipeline that calls files, saves figures and parameters, and moves to separate folders