Path to = new Path(options.getPrimaryOutputDir(), XRecommenderJob.SIMS_MATRIX_DIR);//steal the dir name from Xrec
fs.rename(from, to);
//move the primary user action matrix to output
from = new Path(new Path(options.getPrimaryTempDir(), RecommenderJob.DEFAULT_PREPARE_PATH), PreparePreferenceMatrixJob.USER_VECTORS);
to = new Path(options.getOutputDir(), options.getPrimaryActionHistoryDir());
fs.rename(from, to);
//if it was created move the secondary user action matrix to output
if(options.getDoXRecommender()){
from = new Path(new Path(options.getSecondaryTempDir(), XRecommenderJob.DEFAULT_PREPARE_DIR), PrepareActionMatricesJob.USER_VECTORS_A);
to = new Path(options.getOutputDir(), options.getSecondaryActionHistoryDir());
fs.rename(from, to);