can set input/output files via main