updated cmdln args to take filename