made filename a command line arg