add files, save categories