Add categories to data file