remove category from yaml (using directory structure)