1. get folder name in path
2. number of arguments updated