added option of comparing two groups and changed the group naming to remove the path from the filename