split categories into separate files