pub fn collect_and_group_files(args: &CommonArgs) -> Result<Vec<Group>>