filefactory: update for new design