Grouping of table by file type, finally