set up arguments and file walking