categories are now read in from file