first working version of removeGroupByName. Remove all dependencies, from file to targer