category gets from directory, understand direcory structure cat/star/spectrum