Adding cat and subcat to filenames.