group files by modules