replace categories with file formats