docs on group method and file extension capturing